@re-cinq/agent-contracts 0.8.1 → 0.10.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.
@@ -40,6 +40,16 @@ export interface RepoRef {
40
40
  path?: string;
41
41
  token_secret?: string;
42
42
  }
43
+ export interface ConversationRef {
44
+ /** Base URL the prior conversation state is fetched from. */
45
+ source?: string;
46
+ /** Conversation to continue; empty starts a fresh one. */
47
+ id?: string;
48
+ /** Id this run's state is saved as; empty means it is not saved. */
49
+ pin?: string;
50
+ /** Secret holding the Authorization header for the fetch. */
51
+ headers_secret?: string;
52
+ }
43
53
  export interface AgentResources {
44
54
  env?: EnvVar[];
45
55
  secrets?: SecretRef[];
@@ -47,6 +57,7 @@ export interface AgentResources {
47
57
  repos?: RepoRef[];
48
58
  skills?: string[];
49
59
  skills_source?: string;
60
+ conversation?: ConversationRef;
50
61
  }
51
62
  export interface OutputSelector {
52
63
  event: SelectEvent;
@@ -60,12 +71,19 @@ export interface OutputSink {
60
71
  headers_secret?: string;
61
72
  path?: string;
62
73
  }
74
+ export interface OutputWatch {
75
+ /** Event name raised when the file is produced. */
76
+ event: string;
77
+ /** File to read; relative paths resolve against WORKSPACE_DIR. */
78
+ path: string;
79
+ }
63
80
  export interface OutputSpec {
64
81
  format?: OutputFormat;
65
82
  /** JSON Schema validating the result. */
66
83
  schema?: unknown;
67
84
  select?: OutputSelector[];
68
85
  sinks?: OutputSink[];
86
+ watch?: OutputWatch[];
69
87
  }
70
88
  /** The reusable recipe for a coding agent task. */
71
89
  export interface AgentDefinitionSpec {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@re-cinq/agent-contracts",
3
- "version": "0.8.1",
3
+ "version": "0.10.0",
4
4
  "description": "TypeScript types + client for the ai-agent-subsystem CRDs (Agent / Station / AgentDefinition). Types are generated from the D source so they cannot drift.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {