@dxos/compute - v0.16.0
    Preparing search index...

    Class Project

    A user-facing container for interactive, long-running work: instructions (skills + commands), artifacts, tasks, and AI chat sessions in project context. Successor to Topic.

    Fields are the refs the project owns and orders; everything that merely accumulates around it is a query — chats by the ECHO parent edge, agents via chats. What only some projects need, such as the repositories coding agents work on, is an annotation the plugin that needs it adds.

    Hierarchy

    • {
          artifacts: readonly Ref<Unknown>[];
          description?: string;
          instructions?: Ref<Instructions.Instructions & OfKind<Object> & Unknown>;
          name?: string;
          outline?: Ref<Outline & OfKind<Object> & Unknown>;
          routines: readonly Ref<Routine.Routine & OfKind<Object> & Unknown>[];
          specs: readonly Ref<Spec.Spec>[];
          status?: "active" | "paused" | "blocked" | "ended";
          taskSet?: Ref<TaskSet & OfKind<Object> & Unknown>;
      } & OfKind<Object, this>
      • Project
    Index

    Constructors

    • Parameters

      • _: never

      Returns Project.Project

    Properties

    "~@dxos/echo/Kind": Object
    artifacts: readonly Ref<Unknown>[] = ...

    Artifacts (documents, outliners, tables, ...), in order.

    description?: string = ...
    id: string
    instructions?: Ref<Instructions.Instructions & OfKind<Object> & Unknown> = ...

    Owned agent instructions (created at the plugin layer; parented by SetParent).

    name?: string = ...
    outline?: Ref<Outline & OfKind<Object> & Unknown> = ...

    Ad hoc markdown checklist — the scratch surface; project chats write into it.

    routines: readonly Ref<Routine.Routine & OfKind<Object> & Unknown>[] = ...

    Routines the project owns, in order, parented so they cascade-delete with it.

    specs: readonly Ref<Spec.Spec>[] = ...

    Owned specs, in order: the normative text the project's tasks deliver. A form creates each and edits it inline. Suspended because Spec refers back.

    status?: "active" | "paused" | "blocked" | "ended" = ...

    Work-stream lifecycle state.

    taskSet?: Ref<TaskSet & OfKind<Object> & Unknown> = ...

    Owned (or adopted synced) task container, holding the project's tasks and milestones.

    "~@dxos/echo/Kind": Type

    Entity-kind brand of the type-entity value itself — always EntityKind.Type. The kind of instance the type describes lives on [SchemaKindId] (Object / Relation / Type). Lets Obj.isObject / Relation.isRelation reject type entities by a single [KindId] check.

    "~@dxos/echo/SchemaKind": Object

    Schema-kind brand (object).

    "~@dxos/echo/Type.Instance"?: Project.Project & OfKind<Object>
    "~@dxos/echo/Type.StaticSchema": Codec<any, any>

    Source Effect Schema — used internally by Type.getSchema(self).

    fields: {}

    The fields defined in the original struct schema. Allows accessing field definitions for introspection.

    id: string

    Object id. Like all ECHO entities, type entities always carry an id — stamped at construction for in-memory (static) declarations and assigned by the database once persisted. The id does NOT determine the entity's URI: static types resolve to their typename DXN, persisted types to echo:///<id> (see getTypeURIFromSpecifier).

    jsonSchema: JsonSchemaType
    name?: string