:py:mod:`vendor_fabric.cursor.tools` ==================================== .. py:module:: vendor_fabric.cursor.tools .. autodoc2-docstring:: vendor_fabric.cursor.tools :parser: myst :allowtitles: Module Contents --------------- Classes ~~~~~~~ .. list-table:: :class: autosummary longtable :align: left * - :py:obj:`LaunchAgentSchema ` - .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema :parser: myst :summary: * - :py:obj:`GetAgentStatusSchema ` - .. autodoc2-docstring:: vendor_fabric.cursor.tools.GetAgentStatusSchema :parser: myst :summary: Functions ~~~~~~~~~ .. list-table:: :class: autosummary longtable :align: left * - :py:obj:`cursor_launch_agent ` - .. autodoc2-docstring:: vendor_fabric.cursor.tools.cursor_launch_agent :parser: myst :summary: * - :py:obj:`cursor_get_agent_status ` - .. autodoc2-docstring:: vendor_fabric.cursor.tools.cursor_get_agent_status :parser: myst :summary: Data ~~~~ .. list-table:: :class: autosummary longtable :align: left * - :py:obj:`TOOL_DEFINITIONS ` - .. autodoc2-docstring:: vendor_fabric.cursor.tools.TOOL_DEFINITIONS :parser: myst :summary: API ~~~ .. py:class:: LaunchAgentSchema(/, **data: typing.Any) :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema Bases: :py:obj:`pydantic.BaseModel` .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema :parser: myst .. rubric:: Initialization .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema.__init__ :parser: myst .. py:attribute:: prompt :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.prompt :type: str :value: 'Field(...)' .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema.prompt :parser: myst .. py:attribute:: repository :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.repository :type: str :value: 'Field(...)' .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema.repository :parser: myst .. py:attribute:: ref :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.ref :type: str | None :value: 'Field(...)' .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema.ref :parser: myst .. py:attribute:: branch_name :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.branch_name :type: str | None :value: 'Field(...)' .. autodoc2-docstring:: vendor_fabric.cursor.tools.LaunchAgentSchema.branch_name :parser: myst .. py:attribute:: model_config :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_config :type: typing.ClassVar[pydantic.config.ConfigDict] :value: 'ConfigDict(...)' .. py:method:: model_fields() -> dict[str, pydantic.fields.FieldInfo] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_fields :classmethod: .. py:method:: model_computed_fields() -> dict[str, pydantic.fields.ComputedFieldInfo] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_computed_fields :classmethod: .. py:property:: model_extra :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_extra :type: dict[str, typing.Any] | None .. py:property:: model_fields_set :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_fields_set :type: set[str] .. py:method:: model_construct(_fields_set: set[str] | None = None, **values: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_construct :classmethod: .. py:method:: model_copy(*, update: collections.abc.Mapping[str, typing.Any] | None = None, deep: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_copy .. py:method:: model_dump(*, mode: typing.Literal[json, python] | str = 'python', include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, context: typing.Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | typing.Literal[none, warn, error] = True, fallback: typing.Callable[[typing.Any], typing.Any] | None = None, serialize_as_any: bool = False, polymorphic_serialization: bool | None = None) -> dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_dump .. py:method:: model_dump_json(*, indent: int | None = None, ensure_ascii: bool = False, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, context: typing.Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | typing.Literal[none, warn, error] = True, fallback: typing.Callable[[typing.Any], typing.Any] | None = None, serialize_as_any: bool = False, polymorphic_serialization: bool | None = None) -> str :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_dump_json .. py:method:: model_json_schema(by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE, schema_generator: type[pydantic.json_schema.GenerateJsonSchema] = GenerateJsonSchema, mode: pydantic.json_schema.JsonSchemaMode = 'validation', *, union_format: typing.Literal[any_of, primitive_type_array] = 'any_of') -> dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_json_schema :classmethod: .. py:method:: model_parametrized_name(params: tuple[type[typing.Any], ...]) -> str :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_parametrized_name :classmethod: .. py:method:: model_post_init(context: typing.Any, /) -> None :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_post_init .. py:method:: model_rebuild(*, force: bool = False, raise_errors: bool = True, _parent_namespace_depth: int = 2, _types_namespace: pydantic._internal._namespace_utils.MappingNamespace | None = None) -> bool | None :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_rebuild :classmethod: .. py:method:: model_validate(obj: typing.Any, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, from_attributes: bool | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_validate :classmethod: .. py:method:: model_validate_json(json_data: str | bytes | bytearray, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_validate_json :classmethod: .. py:method:: model_validate_strings(obj: typing.Any, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.model_validate_strings :classmethod: .. py:method:: dict(*, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False) -> typing.Dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.dict .. py:method:: json(*, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, encoder: typing.Callable[[typing.Any], typing.Any] | None = PydanticUndefined, models_as_dict: bool = PydanticUndefined, **dumps_kwargs: typing.Any) -> str :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.json .. py:method:: parse_obj(obj: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.parse_obj :classmethod: .. py:method:: parse_raw(b: str | bytes, *, content_type: str | None = None, encoding: str = 'utf8', proto: pydantic.deprecated.parse.Protocol | None = None, allow_pickle: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.parse_raw :classmethod: .. py:method:: parse_file(path: str | pathlib.Path, *, content_type: str | None = None, encoding: str = 'utf8', proto: pydantic.deprecated.parse.Protocol | None = None, allow_pickle: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.parse_file :classmethod: .. py:method:: from_orm(obj: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.from_orm :classmethod: .. py:method:: construct(_fields_set: set[str] | None = None, **values: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.construct :classmethod: .. py:method:: copy(*, include: pydantic._internal._utils.AbstractSetIntStr | pydantic._internal._utils.MappingIntStrAny | None = None, exclude: pydantic._internal._utils.AbstractSetIntStr | pydantic._internal._utils.MappingIntStrAny | None = None, update: typing.Dict[str, typing.Any] | None = None, deep: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.copy .. py:method:: schema(by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE) -> typing.Dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.schema :classmethod: .. py:method:: schema_json(*, by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE, **dumps_kwargs: typing.Any) -> str :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.schema_json :classmethod: .. py:method:: validate(value: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.validate :classmethod: .. py:method:: update_forward_refs(**localns: typing.Any) -> None :canonical: vendor_fabric.cursor.tools.LaunchAgentSchema.update_forward_refs :classmethod: .. py:class:: GetAgentStatusSchema(/, **data: typing.Any) :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema Bases: :py:obj:`pydantic.BaseModel` .. autodoc2-docstring:: vendor_fabric.cursor.tools.GetAgentStatusSchema :parser: myst .. rubric:: Initialization .. autodoc2-docstring:: vendor_fabric.cursor.tools.GetAgentStatusSchema.__init__ :parser: myst .. py:attribute:: agent_id :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.agent_id :type: str :value: 'Field(...)' .. autodoc2-docstring:: vendor_fabric.cursor.tools.GetAgentStatusSchema.agent_id :parser: myst .. py:attribute:: model_config :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_config :type: typing.ClassVar[pydantic.config.ConfigDict] :value: 'ConfigDict(...)' .. py:method:: model_fields() -> dict[str, pydantic.fields.FieldInfo] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_fields :classmethod: .. py:method:: model_computed_fields() -> dict[str, pydantic.fields.ComputedFieldInfo] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_computed_fields :classmethod: .. py:property:: model_extra :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_extra :type: dict[str, typing.Any] | None .. py:property:: model_fields_set :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_fields_set :type: set[str] .. py:method:: model_construct(_fields_set: set[str] | None = None, **values: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_construct :classmethod: .. py:method:: model_copy(*, update: collections.abc.Mapping[str, typing.Any] | None = None, deep: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_copy .. py:method:: model_dump(*, mode: typing.Literal[json, python] | str = 'python', include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, context: typing.Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | typing.Literal[none, warn, error] = True, fallback: typing.Callable[[typing.Any], typing.Any] | None = None, serialize_as_any: bool = False, polymorphic_serialization: bool | None = None) -> dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_dump .. py:method:: model_dump_json(*, indent: int | None = None, ensure_ascii: bool = False, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, context: typing.Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | typing.Literal[none, warn, error] = True, fallback: typing.Callable[[typing.Any], typing.Any] | None = None, serialize_as_any: bool = False, polymorphic_serialization: bool | None = None) -> str :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_dump_json .. py:method:: model_json_schema(by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE, schema_generator: type[pydantic.json_schema.GenerateJsonSchema] = GenerateJsonSchema, mode: pydantic.json_schema.JsonSchemaMode = 'validation', *, union_format: typing.Literal[any_of, primitive_type_array] = 'any_of') -> dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_json_schema :classmethod: .. py:method:: model_parametrized_name(params: tuple[type[typing.Any], ...]) -> str :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_parametrized_name :classmethod: .. py:method:: model_post_init(context: typing.Any, /) -> None :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_post_init .. py:method:: model_rebuild(*, force: bool = False, raise_errors: bool = True, _parent_namespace_depth: int = 2, _types_namespace: pydantic._internal._namespace_utils.MappingNamespace | None = None) -> bool | None :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_rebuild :classmethod: .. py:method:: model_validate(obj: typing.Any, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, from_attributes: bool | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_validate :classmethod: .. py:method:: model_validate_json(json_data: str | bytes | bytearray, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_validate_json :classmethod: .. py:method:: model_validate_strings(obj: typing.Any, *, strict: bool | None = None, extra: pydantic.config.ExtraValues | None = None, context: typing.Any | None = None, by_alias: bool | None = None, by_name: bool | None = None) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.model_validate_strings :classmethod: .. py:method:: dict(*, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False) -> typing.Dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.dict .. py:method:: json(*, include: pydantic.main.IncEx | None = None, exclude: pydantic.main.IncEx | None = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, encoder: typing.Callable[[typing.Any], typing.Any] | None = PydanticUndefined, models_as_dict: bool = PydanticUndefined, **dumps_kwargs: typing.Any) -> str :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.json .. py:method:: parse_obj(obj: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.parse_obj :classmethod: .. py:method:: parse_raw(b: str | bytes, *, content_type: str | None = None, encoding: str = 'utf8', proto: pydantic.deprecated.parse.Protocol | None = None, allow_pickle: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.parse_raw :classmethod: .. py:method:: parse_file(path: str | pathlib.Path, *, content_type: str | None = None, encoding: str = 'utf8', proto: pydantic.deprecated.parse.Protocol | None = None, allow_pickle: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.parse_file :classmethod: .. py:method:: from_orm(obj: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.from_orm :classmethod: .. py:method:: construct(_fields_set: set[str] | None = None, **values: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.construct :classmethod: .. py:method:: copy(*, include: pydantic._internal._utils.AbstractSetIntStr | pydantic._internal._utils.MappingIntStrAny | None = None, exclude: pydantic._internal._utils.AbstractSetIntStr | pydantic._internal._utils.MappingIntStrAny | None = None, update: typing.Dict[str, typing.Any] | None = None, deep: bool = False) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.copy .. py:method:: schema(by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE) -> typing.Dict[str, typing.Any] :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.schema :classmethod: .. py:method:: schema_json(*, by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLATE, **dumps_kwargs: typing.Any) -> str :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.schema_json :classmethod: .. py:method:: validate(value: typing.Any) -> typing_extensions.Self :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.validate :classmethod: .. py:method:: update_forward_refs(**localns: typing.Any) -> None :canonical: vendor_fabric.cursor.tools.GetAgentStatusSchema.update_forward_refs :classmethod: .. py:function:: cursor_launch_agent(prompt: str, repository: str, ref: str | None = None, branch_name: str | None = None) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.cursor.tools.cursor_launch_agent .. autodoc2-docstring:: vendor_fabric.cursor.tools.cursor_launch_agent :parser: myst .. py:function:: cursor_get_agent_status(agent_id: str) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.cursor.tools.cursor_get_agent_status .. autodoc2-docstring:: vendor_fabric.cursor.tools.cursor_get_agent_status :parser: myst .. py:data:: TOOL_DEFINITIONS :canonical: vendor_fabric.cursor.tools.TOOL_DEFINITIONS :value: None .. autodoc2-docstring:: vendor_fabric.cursor.tools.TOOL_DEFINITIONS :parser: myst