@skrr-ai/cli 0.1.223 → 0.1.225
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.
|
@@ -897,7 +897,10 @@ class AgentsChat extends base_command_1.BaseCommand {
|
|
|
897
897
|
state: answer.delivery?.state ?? null,
|
|
898
898
|
...(answer.idempotentReplay ? { replayed: true } : {}),
|
|
899
899
|
};
|
|
900
|
-
const
|
|
900
|
+
const next = (0, inbound_messages_1.nextAfterSend)(answer);
|
|
901
|
+
const sentence = answer.idempotentReplay && next.kind === 'turn'
|
|
902
|
+
? 'Reopening the original turn.'
|
|
903
|
+
: ((0, inbound_messages_1.deliverySentence)(answer.delivery) ?? inbound_messages_1.ROUTE_COPY.hold);
|
|
901
904
|
if (input.jsonl)
|
|
902
905
|
(0, agentic_stream_1.writeJsonLine)(process.stdout, { type: 'message.sent', ...record, sentence });
|
|
903
906
|
// A notice on the way, never on stdout unless it is a JSONL event.
|
|
@@ -918,7 +921,6 @@ class AgentsChat extends base_command_1.BaseCommand {
|
|
|
918
921
|
}
|
|
919
922
|
return null;
|
|
920
923
|
};
|
|
921
|
-
const next = (0, inbound_messages_1.nextAfterSend)(answer);
|
|
922
924
|
switch (next.kind) {
|
|
923
925
|
case 'turn':
|
|
924
926
|
return {
|
|
@@ -45237,7 +45237,7 @@ var Jr = e.z.enum(exports.EAgent);
|
|
|
45237
45237
|
var Zr = e.z.object({ agent: e.z.string().default(exports.EAgent.functions), skipCompletion: e.z.boolean().default(Qr.skipCompletion.default), model: e.z.string(), temperature: e.z.number().default(Qr.temperature.default) });
|
|
45238
45238
|
var es = e.z.discriminatedUnion("coverage", [e.z.object({ version: e.z.literal(1), coverage: e.z.literal("unavailable") }), e.z.object({ version: e.z.literal(1), coverage: e.z.literal("query_initialization"), providerAcknowledgement: e.z.literal("not_observed"), attempts: e.z.array(e.z.object({ queryId: e.z.string(), ordinal: e.z.number().int().positive(), state: e.z.enum(["preparing", "registered", "input_release_intended", "refused"]), requiredOperations: e.z.array(e.z.string()).min(1).max(16), startedAt: e.z.string(), registeredAt: e.z.string().optional(), releaseIntendedAt: e.z.string().optional(), refusedAt: e.z.string().optional(), refusalReason: e.z.enum(["unsupported_carrier", "registration_unknown", "cancelled", "preparation_timeout", "authority_not_current", "observation_not_recorded", "preparation_failed"]).optional(), cleanupState: e.z.enum(["confirmed", "unconfirmed"]).optional() })).min(1).max(16) })]);
|
|
45239
45239
|
var ts = e.z.object({ role: e.z.enum(["user", "assistant", "tool", "system"]), blocks: e.z.array(e.z.discriminatedUnion("kind", [e.z.object({ kind: e.z.literal("text"), text: e.z.string(), entryId: e.z.string().optional() }), e.z.object({ kind: e.z.literal("tool_call"), entryId: e.z.string().optional(), name: e.z.string(), input: e.z.string(), copyCallId: e.z.string().optional() }), e.z.object({ kind: e.z.literal("tool_result"), entryId: e.z.string().optional(), text: e.z.string(), failed: e.z.boolean(), copyCallId: e.z.string().optional() }), e.z.object({ kind: e.z.literal("unsupported"), sourceType: e.z.string() })])) });
|
|
45240
|
-
var ns = e.z.object({ messageId: e.z.string(), importedHistory: ts.optional(), localSessionCopy: ts.extend({ version: e.z.literal(1), provider: e.z.enum(["codex", "claude"]), sourceConversationId: e.z.string(), sourceTimestamp: e.z.string().optional(), snapshot: e.z.object({ version: e.z.string(), syncedAt: e.z.string(), eventCount: e.z.number().int().positive(), ordinal: e.z.number().int().positive() }).optional() }).optional(), envelopeStreamRef: ir.optional(), executionExposure: es.optional(), chatTurnReplyVersion: e.z.number().int().positive().optional(), localId: e.z.string().optional(), endpoint: e.z.string().optional(), clientId: e.z.string().nullable().optional(), conversationId: e.z.string().nullable(), parentMessageId: e.z.string().nullable(), responseMessageId: e.z.string().nullable().optional(), overrideParentMessageId: e.z.string().nullable().optional(), bg: e.z.string().nullable().optional(), model: e.z.string().nullable().optional(), title: e.z.string().nullable().or(e.z.literal("New Chat")).default("New Chat"), sender: e.z.string().optional(), text: e.z.string(), generation: e.z.string().nullable().optional(), isCreatedByUser: e.z.boolean(), error: e.z.boolean().optional(), clientTimestamp: e.z.string().optional(), createdAt: e.z.string().optional().default(() => (/* @__PURE__ */ new Date()).toISOString()), updatedAt: e.z.string().optional().default(() => (/* @__PURE__ */ new Date()).toISOString()), current: e.z.boolean().optional(), unfinished: e.z.boolean().optional(), searchResult: e.z.boolean().optional(), finish_reason: e.z.string().optional(), thread_id: e.z.string().optional(), iconURL: e.z.string().nullable().optional(), feedback: jn.optional() });
|
|
45240
|
+
var ns = e.z.object({ messageId: e.z.string(), importedHistory: ts.optional(), localSessionCopy: ts.extend({ version: e.z.literal(1), provider: e.z.enum(["codex", "claude"]), sourceConversationId: e.z.string(), sourceTimestamp: e.z.string().optional(), snapshot: e.z.object({ version: e.z.string(), syncedAt: e.z.string(), eventCount: e.z.number().int().positive(), ordinal: e.z.number().int().positive() }).optional() }).optional(), envelopeStreamRef: ir.optional(), executionExposure: es.optional(), chatTurnReplyVersion: e.z.number().int().positive().optional(), chatTurnResultId: e.z.string().optional(), localId: e.z.string().optional(), endpoint: e.z.string().optional(), clientId: e.z.string().nullable().optional(), conversationId: e.z.string().nullable(), parentMessageId: e.z.string().nullable(), responseMessageId: e.z.string().nullable().optional(), overrideParentMessageId: e.z.string().nullable().optional(), bg: e.z.string().nullable().optional(), model: e.z.string().nullable().optional(), title: e.z.string().nullable().or(e.z.literal("New Chat")).default("New Chat"), sender: e.z.string().optional(), text: e.z.string(), generation: e.z.string().nullable().optional(), isCreatedByUser: e.z.boolean(), error: e.z.boolean().optional(), clientTimestamp: e.z.string().optional(), createdAt: e.z.string().optional().default(() => (/* @__PURE__ */ new Date()).toISOString()), updatedAt: e.z.string().optional().default(() => (/* @__PURE__ */ new Date()).toISOString()), current: e.z.boolean().optional(), unfinished: e.z.boolean().optional(), searchResult: e.z.boolean().optional(), finish_reason: e.z.string().optional(), thread_id: e.z.string().optional(), iconURL: e.z.string().nullable().optional(), feedback: jn.optional() });
|
|
45241
45241
|
var os = e.z.union([e.z.number(), e.z.string()]).transform((e11) => "string" == typeof e11 ? "" === e11.trim() ? void 0 : parseFloat(e11) : e11);
|
|
45242
45242
|
var rs = e.z.lazy(() => e.z.union([e.z.null(), e.z.boolean(), e.z.number(), e.z.string(), e.z.array(e.z.lazy(() => rs)), e.z.record(e.z.string(), e.z.lazy(() => rs))]));
|
|
45243
45243
|
var ss = e.z.object({ conversationId: e.z.string().nullable(), scopeKind: e.z.enum(["agent_main", "agent_thread", "standalone_conversation", "group_chat", "task_chat", "local_session"]).optional(), localSession: e.z.object({ lifecycle: e.z.literal("pending").optional(), provider: e.z.enum(["codex", "claude"]), sourceId: e.z.string(), machineName: e.z.string().nullable(), disconnected: e.z.boolean().optional(), workspaceLinked: e.z.boolean().optional(), projectAvailable: e.z.boolean().optional(), project: e.z.string().nullable(), syncedAt: e.z.string(), historyVersion: e.z.string().optional(), syncEnabled: e.z.boolean(), generation: e.z.number().int().positive().optional(), continuation: e.z.object({ state: e.z.enum(["preparing", "in_progress", "unknown"]), submissionObserved: e.z.boolean().optional(), kind: e.z.literal("pending-start").optional() }).optional(), sync: e.z.object({ state: e.z.enum(["idle", "queued", "synced", "unchanged", "failed"]), lastCheckedAt: e.z.string().nullable(), error: e.z.string().optional() }).optional() }).optional(), endpoint: Wr.nullable(), endpointType: Wr.nullable().optional(), isArchived: e.z.boolean().optional(), title: e.z.string().nullable().or(e.z.literal("New Chat")).default("New Chat"), user: e.z.string().optional(), messages: e.z.array(e.z.string()).optional(), tools: e.z.union([e.z.array(Vr), e.z.array(e.z.string())]).optional(), modelLabel: e.z.string().nullable().optional(), userLabel: e.z.string().optional(), model: e.z.string().nullable().optional(), promptPrefix: e.z.string().nullable().optional(), temperature: e.z.number().nullable().optional(), topP: e.z.number().optional(), topK: e.z.number().optional(), top_p: e.z.number().optional(), frequency_penalty: e.z.number().optional(), presence_penalty: e.z.number().optional(), parentMessageId: e.z.string().optional(), maxOutputTokens: os.nullable().optional(), maxContextTokens: os.optional(), max_tokens: os.optional(), promptCache: e.z.boolean().optional(), system: e.z.string().optional(), thinking: e.z.boolean().optional(), thinkingBudget: os.optional(), stream: e.z.boolean().optional(), artifacts: e.z.string().optional(), context: e.z.string().nullable().optional(), examples: e.z.array(Yr).optional(), tags: e.z.array(e.z.string()).optional(), createdAt: e.z.string(), updatedAt: e.z.string(), resendFiles: e.z.boolean().optional(), file_ids: e.z.array(e.z.string()).optional(), imageDetail: Cr.optional(), reasoning_effort: Nr.optional().nullable(), reasoning_summary: Pr.optional().nullable(), verbosity: $r.optional().nullable(), useResponsesApi: e.z.boolean().optional(), web_search: e.z.boolean().optional(), disableStreaming: e.z.boolean().optional(), assistant_id: e.z.string().optional(), agent_id: e.z.string().optional(), agentName: e.z.string().optional(), workingDirectory: e.z.string().nullable().optional(), workspaceId: e.z.string().optional(), spaceId: e.z.string().optional(), groupChatId: e.z.string().optional(), region: e.z.string().optional(), maxTokens: os.optional(), additionalModelRequestFields: rs.optional(), instructions: e.z.string().optional(), additional_instructions: e.z.string().optional(), append_current_datetime: e.z.boolean().optional(), presetOverride: e.z.record(e.z.string(), e.z.unknown()).optional(), stop: e.z.array(e.z.string()).optional(), greeting: e.z.string().optional(), spec: e.z.string().nullable().optional(), iconURL: e.z.string().nullable().optional(), expiredAt: e.z.string().nullable().optional(), fileTokenLimit: os.optional(), resendImages: e.z.boolean().optional(), agentOptions: Zr.nullable().optional(), chatGptLabel: e.z.string().nullable().optional(), agenticSession: e.z.object({ sessionId: e.z.string().optional(), clientRequestId: e.z.string().optional(), userMessageId: e.z.string().optional(), responseMessageId: e.z.string().optional(), isNewConversation: e.z.boolean().optional(), idempotencyResponse: e.z.record(e.z.string(), e.z.unknown()).optional(), checkpoints: e.z.array(e.z.object({ messageId: e.z.string(), messageUuid: e.z.string(), timestamp: e.z.date().or(e.z.string()) })).optional(), settings: e.z.object({ permissionMode: e.z.enum(["default", "acceptEdits", "bypassPermissions", "plan"]).optional(), sandbox: e.z.object({ enabled: e.z.boolean().optional(), autoAllowBashIfSandboxed: e.z.boolean().optional() }).optional(), structuredOutput: e.z.object({ enabled: e.z.boolean().optional(), schema: e.z.unknown().optional() }).optional() }).optional() }).nullable().optional(), permissionMode: e.z.enum(["default", "acceptEdits", "bypassPermissions", "plan"]).optional(), sandbox: e.z.looseObject({ enabled: e.z.boolean() }).optional(), structuredOutput: e.z.object({ enabled: e.z.boolean(), schema: e.z.unknown().optional() }).optional() });
|
package/oclif.manifest.json
CHANGED
|
@@ -156321,5 +156321,5 @@
|
|
|
156321
156321
|
]
|
|
156322
156322
|
}
|
|
156323
156323
|
},
|
|
156324
|
-
"version": "0.1.
|
|
156324
|
+
"version": "0.1.225"
|
|
156325
156325
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.225",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -726,5 +726,5 @@
|
|
|
726
726
|
"engines": {
|
|
727
727
|
"node": ">=20.0.0"
|
|
728
728
|
},
|
|
729
|
-
"gitHead": "
|
|
729
|
+
"gitHead": "5fa1d80e99008eaa122197296800b2bf9e7d29ff"
|
|
730
730
|
}
|