@vibes.diy/api-types 14.3.341 → 14.3.343
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-evidence-line.js +1 -1
- package/agent-tools.d.ts +2 -2
- package/agent-tools.js +1 -1
- package/app.d.ts +460 -456
- package/app.js +1 -0
- package/chat.d.ts +5 -5
- package/package.json +4 -4
- package/prompt.d.ts +89 -89
- package/settings.d.ts +234 -234
package/agent-evidence-line.js
CHANGED
|
@@ -37,7 +37,7 @@ function line(text, opts) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
const FAILED = "That change didn't land";
|
|
40
|
-
const SKIPPED_PASS = new Set(["under-one-build", "guest-first-version", "own-pass-offered"]);
|
|
40
|
+
const SKIPPED_PASS = new Set(["under-one-build", "guest-first-version", "own-pass-offered", "finish-ask"]);
|
|
41
41
|
export function isSkippedPassEvidence(evidence) {
|
|
42
42
|
return (evidence.kind === "receipt" &&
|
|
43
43
|
evidence.ok === false &&
|
package/agent-tools.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ export declare const setAppStyleToolInput: import("arktype/internal/variants/obj
|
|
|
35
35
|
export type SetAppStyleToolInput = typeof setAppStyleToolInput.infer;
|
|
36
36
|
export declare function isSetAppStyleToolInput(obj: unknown): obj is SetAppStyleToolInput;
|
|
37
37
|
export declare function isEditVibeToolInput(obj: unknown): obj is EditVibeToolInput;
|
|
38
|
-
export declare const agentToolRefusalReason: import("arktype/internal/variants/string.ts").StringType<"address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build", {}>;
|
|
38
|
+
export declare const agentToolRefusalReason: import("arktype/internal/variants/string.ts").StringType<"address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build", {}>;
|
|
39
39
|
export declare const agentToolRefusal: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
40
40
|
ok: false;
|
|
41
|
-
reason: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build";
|
|
41
|
+
reason: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build";
|
|
42
42
|
message?: string | undefined;
|
|
43
43
|
inFlightPromptId?: string | undefined;
|
|
44
44
|
currentFsId?: string | undefined;
|
package/agent-tools.js
CHANGED
|
@@ -36,7 +36,7 @@ export function isSetAppStyleToolInput(obj) {
|
|
|
36
36
|
export function isEditVibeToolInput(obj) {
|
|
37
37
|
return editVibeToolInput.allows(obj);
|
|
38
38
|
}
|
|
39
|
-
export const agentToolRefusalReason = lazyType(() => type("'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope' | 'unchanged' | 'already-created' | 'claim-unavailable' | 'address-taken' | 'under-one-build' | 'guest-first-version' | 'own-pass-offered'"));
|
|
39
|
+
export const agentToolRefusalReason = lazyType(() => type("'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope' | 'unchanged' | 'already-created' | 'claim-unavailable' | 'address-taken' | 'under-one-build' | 'guest-first-version' | 'own-pass-offered' | 'finish-ask'"));
|
|
40
40
|
export const agentToolRefusal = lazyType(() => type({
|
|
41
41
|
ok: "false",
|
|
42
42
|
reason: agentToolRefusalReason,
|