@ikenga/contract 0.11.0 → 0.13.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/action-frontmatter.d.ts +389 -0
- package/dist/action-frontmatter.d.ts.map +1 -0
- package/dist/action-frontmatter.js +215 -0
- package/dist/action-frontmatter.js.map +1 -0
- package/dist/artifact.d.ts +110 -110
- package/dist/browser.d.ts +2 -2
- package/dist/engine/adapter.d.ts +6 -6
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/manifest.d.ts +175 -150
- package/dist/manifest.d.ts.map +1 -1
- package/dist/manifest.js +5 -0
- package/dist/manifest.js.map +1 -1
- package/dist/pa-actions.d.ts +35 -0
- package/dist/pa-actions.d.ts.map +1 -1
- package/dist/pa-actions.js.map +1 -1
- package/dist/registry.d.ts +301 -285
- package/dist/registry.d.ts.map +1 -1
- package/dist/window.d.ts +128 -0
- package/dist/window.d.ts.map +1 -0
- package/dist/window.js +86 -0
- package/dist/window.js.map +1 -0
- package/package.json +11 -2
- package/src/action-frontmatter.test.ts +219 -0
- package/src/action-frontmatter.ts +250 -0
- package/src/index.ts +2 -0
- package/src/manifest.ts +5 -0
- package/src/pa-actions.ts +38 -0
- package/src/window.test.ts +70 -0
- package/src/window.ts +100 -0
package/dist/browser.d.ts
CHANGED
|
@@ -531,13 +531,13 @@ export declare const BrowserWaitForInputSchema: z.ZodObject<{
|
|
|
531
531
|
/** Default 10_000ms; clamped to [100, 60_000] by the server. */
|
|
532
532
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
id: string & z.BRAND<"BrowserPaneId">;
|
|
535
534
|
kind: "url" | "ref" | "text" | "selector" | "gone-text" | "gone-selector" | "idle";
|
|
535
|
+
id: string & z.BRAND<"BrowserPaneId">;
|
|
536
536
|
value?: string | undefined;
|
|
537
537
|
timeout_ms?: number | undefined;
|
|
538
538
|
}, {
|
|
539
|
-
id: string;
|
|
540
539
|
kind: "url" | "ref" | "text" | "selector" | "gone-text" | "gone-selector" | "idle";
|
|
540
|
+
id: string;
|
|
541
541
|
value?: string | undefined;
|
|
542
542
|
timeout_ms?: number | undefined;
|
|
543
543
|
}>;
|
package/dist/engine/adapter.d.ts
CHANGED
|
@@ -105,8 +105,8 @@ export declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
105
105
|
/** Can resume a prior session by id. */
|
|
106
106
|
sessionResume: z.ZodBoolean;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
mcp: boolean;
|
|
109
108
|
streaming: boolean;
|
|
109
|
+
mcp: boolean;
|
|
110
110
|
toolUse: boolean;
|
|
111
111
|
thinking: boolean;
|
|
112
112
|
artifacts: boolean;
|
|
@@ -118,8 +118,8 @@ export declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
118
118
|
agenticTools: boolean;
|
|
119
119
|
sessionResume: boolean;
|
|
120
120
|
}, {
|
|
121
|
-
mcp: boolean;
|
|
122
121
|
streaming: boolean;
|
|
122
|
+
mcp: boolean;
|
|
123
123
|
toolUse: boolean;
|
|
124
124
|
thinking: boolean;
|
|
125
125
|
artifacts: boolean;
|
|
@@ -202,8 +202,8 @@ export declare const EngineProvidesSchema: z.ZodObject<{
|
|
|
202
202
|
/** Can resume a prior session by id. */
|
|
203
203
|
sessionResume: z.ZodBoolean;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
mcp: boolean;
|
|
206
205
|
streaming: boolean;
|
|
206
|
+
mcp: boolean;
|
|
207
207
|
toolUse: boolean;
|
|
208
208
|
thinking: boolean;
|
|
209
209
|
artifacts: boolean;
|
|
@@ -215,8 +215,8 @@ export declare const EngineProvidesSchema: z.ZodObject<{
|
|
|
215
215
|
agenticTools: boolean;
|
|
216
216
|
sessionResume: boolean;
|
|
217
217
|
}, {
|
|
218
|
-
mcp: boolean;
|
|
219
218
|
streaming: boolean;
|
|
219
|
+
mcp: boolean;
|
|
220
220
|
toolUse: boolean;
|
|
221
221
|
thinking: boolean;
|
|
222
222
|
artifacts: boolean;
|
|
@@ -254,8 +254,8 @@ export declare const EngineProvidesSchema: z.ZodObject<{
|
|
|
254
254
|
}>>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
256
|
capabilities: {
|
|
257
|
-
mcp: boolean;
|
|
258
257
|
streaming: boolean;
|
|
258
|
+
mcp: boolean;
|
|
259
259
|
toolUse: boolean;
|
|
260
260
|
thinking: boolean;
|
|
261
261
|
artifacts: boolean;
|
|
@@ -277,8 +277,8 @@ export declare const EngineProvidesSchema: z.ZodObject<{
|
|
|
277
277
|
display?: string | undefined;
|
|
278
278
|
}, {
|
|
279
279
|
capabilities: {
|
|
280
|
-
mcp: boolean;
|
|
281
280
|
streaming: boolean;
|
|
281
|
+
mcp: boolean;
|
|
282
282
|
toolUse: boolean;
|
|
283
283
|
thinking: boolean;
|
|
284
284
|
artifacts: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export * from './artifact.js';
|
|
|
8
8
|
export * from './registry.js';
|
|
9
9
|
export * from './browser.js';
|
|
10
10
|
export * from './pa-actions.js';
|
|
11
|
+
export * from './window.js';
|
|
12
|
+
export * from './action-frontmatter.js';
|
|
11
13
|
/** This package's own version. */
|
|
12
14
|
export declare const CONTRACT_PACKAGE_VERSION: "0.5.0";
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AAExC,kCAAkC;AAClC,eAAO,MAAM,wBAAwB,EAAG,OAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,8 @@ export * from './artifact.js';
|
|
|
8
8
|
export * from './registry.js';
|
|
9
9
|
export * from './browser.js';
|
|
10
10
|
export * from './pa-actions.js';
|
|
11
|
+
export * from './window.js';
|
|
12
|
+
export * from './action-frontmatter.js';
|
|
11
13
|
/** This package's own version. */
|
|
12
14
|
export const CONTRACT_PACKAGE_VERSION = '0.5.0';
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AAExC,kCAAkC;AAClC,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAgB,CAAC"}
|