@exulu/backend 5.11.0 → 5.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1963,6 +1963,38 @@ declare class RecursiveChunker extends BaseChunker {
1963
1963
  toString(): string;
1964
1964
  }
1965
1965
 
1966
+ /**
1967
+ * The `routine` object a tool's execute receives when its turn is part of a
1968
+ * routine run (spec 2026-11-16-routine-work-status-design): during the
1969
+ * worker's run, and when a person continues that run's session in the chat.
1970
+ * `routine` itself is read-only; everything that writes hangs off
1971
+ * `routine.runs.current`.
1972
+ */
1973
+ type RoutineRunPatch = {
1974
+ /** Work status: a key from routine.statuses. */
1975
+ status?: string;
1976
+ };
1977
+ type RoutineHandle = {
1978
+ id: string;
1979
+ name: string;
1980
+ /** The routine's configured work statuses; [] when none are configured. */
1981
+ statuses: {
1982
+ key: string;
1983
+ label: string;
1984
+ done?: boolean;
1985
+ }[];
1986
+ runs: {
1987
+ current: {
1988
+ /** job_results id of this run. */
1989
+ id: string;
1990
+ /** Current work status of this run. */
1991
+ status: string | null;
1992
+ /** Updates the run. Only the fields of RoutineRunPatch are accepted. */
1993
+ update(patch: RoutineRunPatch): Promise<void>;
1994
+ };
1995
+ };
1996
+ };
1997
+
1966
1998
  interface AuthorizedReadOpts {
1967
1999
  itemIds?: string[];
1968
2000
  externalIds?: string[];
@@ -2855,4 +2887,4 @@ declare const ExuluPython: {
2855
2887
  instructions: typeof getPythonSetupInstructions;
2856
2888
  };
2857
2889
 
2858
- export { type AuditConfig, type AuditEvent, type AuditLogger, type ChunkerOperation, type ChunkerResponse, type CredentialField, CredentialInvalidError, type JOB_STATUS as EXULU_JOB_STATUS, JOB_STATUS_ENUM as EXULU_JOB_STATUS_ENUM, type STATISTICS_TYPE as EXULU_STATISTICS_TYPE, STATISTICS_TYPE_ENUM as EXULU_STATISTICS_TYPE_ENUM, type ExuluAgent, ExuluApp, type ExuluAuthConfig, ExuluAuthentication, ExuluChunkers, ExuluContext, type ExuluContextEmbedder, type ExuluCredentialsToolContext, ExuluDatabase, ExuluDefaultTools, ExuluDocumentProcessor, ExuluEval, type Item as ExuluItem, ExuluJobs, ExuluModels, type ExuluOauthConfig, type ExuluOauthToolContext, ExuluOtel, ExuluPython, queues as ExuluQueues, ExuluReadApi, ExuluRecall, ExuluReranker, ExuluTool, type ExuluUserCredentialsConfig, ExuluVariables, PROJECTION_VERSION, type VectorSearchChunkResult, backfillCoordinates, checkMemoryBase, defaultChunker, enableLiteLLMClientMode, fitContextProjection, listFittableContexts, postgresClient, recallMemories };
2890
+ export { type AuditConfig, type AuditEvent, type AuditLogger, type ChunkerOperation, type ChunkerResponse, type CredentialField, CredentialInvalidError, type JOB_STATUS as EXULU_JOB_STATUS, JOB_STATUS_ENUM as EXULU_JOB_STATUS_ENUM, type STATISTICS_TYPE as EXULU_STATISTICS_TYPE, STATISTICS_TYPE_ENUM as EXULU_STATISTICS_TYPE_ENUM, type ExuluAgent, ExuluApp, type ExuluAuthConfig, ExuluAuthentication, ExuluChunkers, ExuluContext, type ExuluContextEmbedder, type ExuluCredentialsToolContext, ExuluDatabase, ExuluDefaultTools, ExuluDocumentProcessor, ExuluEval, type Item as ExuluItem, ExuluJobs, ExuluModels, type ExuluOauthConfig, type ExuluOauthToolContext, ExuluOtel, ExuluPython, queues as ExuluQueues, ExuluReadApi, ExuluRecall, ExuluReranker, ExuluTool, type ExuluUserCredentialsConfig, ExuluVariables, PROJECTION_VERSION, type RoutineHandle, type RoutineRunPatch, type VectorSearchChunkResult, backfillCoordinates, checkMemoryBase, defaultChunker, enableLiteLLMClientMode, fitContextProjection, listFittableContexts, postgresClient, recallMemories };
package/dist/index.d.ts CHANGED
@@ -1963,6 +1963,38 @@ declare class RecursiveChunker extends BaseChunker {
1963
1963
  toString(): string;
1964
1964
  }
1965
1965
 
1966
+ /**
1967
+ * The `routine` object a tool's execute receives when its turn is part of a
1968
+ * routine run (spec 2026-11-16-routine-work-status-design): during the
1969
+ * worker's run, and when a person continues that run's session in the chat.
1970
+ * `routine` itself is read-only; everything that writes hangs off
1971
+ * `routine.runs.current`.
1972
+ */
1973
+ type RoutineRunPatch = {
1974
+ /** Work status: a key from routine.statuses. */
1975
+ status?: string;
1976
+ };
1977
+ type RoutineHandle = {
1978
+ id: string;
1979
+ name: string;
1980
+ /** The routine's configured work statuses; [] when none are configured. */
1981
+ statuses: {
1982
+ key: string;
1983
+ label: string;
1984
+ done?: boolean;
1985
+ }[];
1986
+ runs: {
1987
+ current: {
1988
+ /** job_results id of this run. */
1989
+ id: string;
1990
+ /** Current work status of this run. */
1991
+ status: string | null;
1992
+ /** Updates the run. Only the fields of RoutineRunPatch are accepted. */
1993
+ update(patch: RoutineRunPatch): Promise<void>;
1994
+ };
1995
+ };
1996
+ };
1997
+
1966
1998
  interface AuthorizedReadOpts {
1967
1999
  itemIds?: string[];
1968
2000
  externalIds?: string[];
@@ -2855,4 +2887,4 @@ declare const ExuluPython: {
2855
2887
  instructions: typeof getPythonSetupInstructions;
2856
2888
  };
2857
2889
 
2858
- export { type AuditConfig, type AuditEvent, type AuditLogger, type ChunkerOperation, type ChunkerResponse, type CredentialField, CredentialInvalidError, type JOB_STATUS as EXULU_JOB_STATUS, JOB_STATUS_ENUM as EXULU_JOB_STATUS_ENUM, type STATISTICS_TYPE as EXULU_STATISTICS_TYPE, STATISTICS_TYPE_ENUM as EXULU_STATISTICS_TYPE_ENUM, type ExuluAgent, ExuluApp, type ExuluAuthConfig, ExuluAuthentication, ExuluChunkers, ExuluContext, type ExuluContextEmbedder, type ExuluCredentialsToolContext, ExuluDatabase, ExuluDefaultTools, ExuluDocumentProcessor, ExuluEval, type Item as ExuluItem, ExuluJobs, ExuluModels, type ExuluOauthConfig, type ExuluOauthToolContext, ExuluOtel, ExuluPython, queues as ExuluQueues, ExuluReadApi, ExuluRecall, ExuluReranker, ExuluTool, type ExuluUserCredentialsConfig, ExuluVariables, PROJECTION_VERSION, type VectorSearchChunkResult, backfillCoordinates, checkMemoryBase, defaultChunker, enableLiteLLMClientMode, fitContextProjection, listFittableContexts, postgresClient, recallMemories };
2890
+ export { type AuditConfig, type AuditEvent, type AuditLogger, type ChunkerOperation, type ChunkerResponse, type CredentialField, CredentialInvalidError, type JOB_STATUS as EXULU_JOB_STATUS, JOB_STATUS_ENUM as EXULU_JOB_STATUS_ENUM, type STATISTICS_TYPE as EXULU_STATISTICS_TYPE, STATISTICS_TYPE_ENUM as EXULU_STATISTICS_TYPE_ENUM, type ExuluAgent, ExuluApp, type ExuluAuthConfig, ExuluAuthentication, ExuluChunkers, ExuluContext, type ExuluContextEmbedder, type ExuluCredentialsToolContext, ExuluDatabase, ExuluDefaultTools, ExuluDocumentProcessor, ExuluEval, type Item as ExuluItem, ExuluJobs, ExuluModels, type ExuluOauthConfig, type ExuluOauthToolContext, ExuluOtel, ExuluPython, queues as ExuluQueues, ExuluReadApi, ExuluRecall, ExuluReranker, ExuluTool, type ExuluUserCredentialsConfig, ExuluVariables, PROJECTION_VERSION, type RoutineHandle, type RoutineRunPatch, type VectorSearchChunkResult, backfillCoordinates, checkMemoryBase, defaultChunker, enableLiteLLMClientMode, fitContextProjection, listFittableContexts, postgresClient, recallMemories };