@vibes.diy/api-types 14.0.3 → 14.0.5

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/agent-tools.d.ts CHANGED
@@ -34,10 +34,15 @@ export declare const editVibeToolInput: import("arktype/internal/variants/object
34
34
  } | undefined;
35
35
  }, {}>;
36
36
  export type EditVibeToolInput = typeof editVibeToolInput.infer;
37
+ export declare const setAppStyleToolInput: import("arktype/internal/variants/object.ts").ObjectType<{
38
+ instruction: string;
39
+ }, {}>;
40
+ export type SetAppStyleToolInput = typeof setAppStyleToolInput.infer;
41
+ export declare function isSetAppStyleToolInput(obj: unknown): obj is SetAppStyleToolInput;
37
42
  export declare function isEditVibeToolInput(obj: unknown): obj is EditVibeToolInput;
38
43
  export declare const agentToolRefusal: import("arktype/internal/variants/object.ts").ObjectType<{
39
44
  ok: false;
40
- reason: "ambiguous-handle" | "busy" | "failed" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "stale-base";
45
+ reason: "ambiguous-handle" | "busy" | "failed" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "stale-base" | "unchanged";
41
46
  message?: string | undefined;
42
47
  inFlightPromptId?: string | undefined;
43
48
  currentFsId?: string | undefined;
@@ -58,3 +63,12 @@ export declare const agentBuildDispatched: import("arktype/internal/variants/obj
58
63
  }, {}>;
59
64
  export type AgentBuildDispatched = typeof agentBuildDispatched.infer;
60
65
  export declare function isAgentBuildDispatched(obj: unknown): obj is AgentBuildDispatched;
66
+ export declare const agentStyleApplied: import("arktype/internal/variants/object.ts").ObjectType<{
67
+ ok: true;
68
+ ownerHandle: string;
69
+ appSlug: string;
70
+ description: string;
71
+ font?: string | undefined;
72
+ }, {}>;
73
+ export type AgentStyleApplied = typeof agentStyleApplied.infer;
74
+ export declare function isAgentStyleApplied(obj: unknown): obj is AgentStyleApplied;
package/agent-tools.js CHANGED
@@ -24,12 +24,18 @@ export const editVibeToolInput = type({
24
24
  "skills?": "string[]",
25
25
  "selected?": type({ kind: "'version'", fsId: "string" }),
26
26
  });
27
+ export const setAppStyleToolInput = type({
28
+ instruction: nonBlank,
29
+ }).onUndeclaredKey("delete");
30
+ export function isSetAppStyleToolInput(obj) {
31
+ return !(setAppStyleToolInput(obj) instanceof type.errors);
32
+ }
27
33
  export function isEditVibeToolInput(obj) {
28
34
  return !(editVibeToolInput(obj) instanceof type.errors);
29
35
  }
30
36
  export const agentToolRefusal = type({
31
37
  ok: "false",
32
- reason: "'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope'",
38
+ reason: "'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope' | 'unchanged'",
33
39
  "message?": "string",
34
40
  "inFlightPromptId?": "string",
35
41
  "currentFsId?": "string",
@@ -49,4 +55,14 @@ export const agentBuildDispatched = type({
49
55
  export function isAgentBuildDispatched(obj) {
50
56
  return !(agentBuildDispatched(obj) instanceof type.errors);
51
57
  }
58
+ export const agentStyleApplied = type({
59
+ ok: "true",
60
+ ownerHandle: "string",
61
+ appSlug: "string",
62
+ description: "string",
63
+ "font?": "string",
64
+ });
65
+ export function isAgentStyleApplied(obj) {
66
+ return !(agentStyleApplied(obj) instanceof type.errors);
67
+ }
52
68
  //# sourceMappingURL=agent-tools.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-tools.js","sourceRoot":"","sources":["../jsr/agent-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AA4B/B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAEnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC;IA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AAU;IAUzB,QAAQ,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE;CAC1D,CAAC,CAAC;AAIH,MAAM,UAAU,kBAAkB,CAAC,GAAY;IAC7C,OAAO,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AACzD,CAAC;AAWD,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAC;IACvC,EAAE,EAAE,MAAM;IACV,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;IASjB,WAAW,EAAE,QAAQ;CACtB,CAAC,CAAC;AAIH,MAAM,UAAU,sBAAsB,CAAC,GAAY;IACjD,OAAO,CAAC,CAAC,oBAAoB,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AAC7D,CAAC;AAUD,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC;IACpC,EAAE,EAAE,MAAM;IACV,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;IAEjB,WAAW,EAAE,QAAQ;IACrB,OAAO,EAAE,QAAQ;CAClB,CAAC,CAAC;AAIH,MAAM,UAAU,mBAAmB,CAAC,GAAY;IAC9C,OAAO,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.0.3",
3
+ "version": "14.0.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -16,9 +16,9 @@
16
16
  "dependencies": {
17
17
  "@adviser/cement": "~0.5.34",
18
18
  "@cloudflare/workers-types": "~5.20260823.1",
19
- "@vibes.diy/call-ai-v2": "14.0.3",
20
- "@vibes.diy/identity": "14.0.3",
21
- "@vibes.diy/vibe-types": "14.0.3",
19
+ "@vibes.diy/call-ai-v2": "14.0.5",
20
+ "@vibes.diy/identity": "14.0.5",
21
+ "@vibes.diy/vibe-types": "14.0.5",
22
22
  "arktype": "~2.2.3"
23
23
  },
24
24
  "repository": {