@autohq/cli 0.1.306 → 0.1.308
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/agent-bridge.js +17 -3
- package/dist/index.js +18 -4
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -23399,7 +23399,7 @@ Object.assign(lookup, {
|
|
|
23399
23399
|
// package.json
|
|
23400
23400
|
var package_default = {
|
|
23401
23401
|
name: "@autohq/cli",
|
|
23402
|
-
version: "0.1.
|
|
23402
|
+
version: "0.1.308",
|
|
23403
23403
|
license: "SEE LICENSE IN README.md",
|
|
23404
23404
|
publishConfig: {
|
|
23405
23405
|
access: "public"
|
|
@@ -27181,7 +27181,11 @@ var SessionRecordSchema = external_exports.object({
|
|
|
27181
27181
|
});
|
|
27182
27182
|
var SessionMessageOriginSchema = external_exports.object({
|
|
27183
27183
|
eventKey: external_exports.string().trim().min(1),
|
|
27184
|
-
provider: external_exports.string().trim().min(1).nullable().default(null)
|
|
27184
|
+
provider: external_exports.string().trim().min(1).nullable().default(null),
|
|
27185
|
+
// A link to the external artifact behind the routed event when one is
|
|
27186
|
+
// resolvable — the GitHub PR/comment/check page, or the Slack thread —
|
|
27187
|
+
// computed server-side from the event payload at read time.
|
|
27188
|
+
externalUrl: external_exports.string().trim().url().nullable().default(null)
|
|
27185
27189
|
});
|
|
27186
27190
|
var SessionUiMessageRecordSchema = external_exports.object({
|
|
27187
27191
|
id: external_exports.string().trim().min(1),
|
|
@@ -27337,6 +27341,9 @@ var ProjectDefaultAgentSchema = external_exports.object({
|
|
|
27337
27341
|
agentName: ResourceNameSchema,
|
|
27338
27342
|
source: ProjectDefaultAgentSourceSchema
|
|
27339
27343
|
});
|
|
27344
|
+
var UpdateProjectSettingsRequestSchema = external_exports.object({
|
|
27345
|
+
defaultAgentName: ResourceNameSchema.nullable()
|
|
27346
|
+
}).strict();
|
|
27340
27347
|
|
|
27341
27348
|
// ../../packages/schemas/src/project-service-accounts.ts
|
|
27342
27349
|
var ProjectServiceAccountSchema = external_exports.object({
|
|
@@ -39825,7 +39832,7 @@ function legacyToolEntry(chunk) {
|
|
|
39825
39832
|
{
|
|
39826
39833
|
type: "tool_result",
|
|
39827
39834
|
toolUseId: legacyToolCallId(chunk.toolCallId),
|
|
39828
|
-
output: chunk.errorText,
|
|
39835
|
+
output: errorOutput(chunk.errorText),
|
|
39829
39836
|
isError: true
|
|
39830
39837
|
}
|
|
39831
39838
|
]
|
|
@@ -39853,6 +39860,13 @@ function legacyToolEntry(chunk) {
|
|
|
39853
39860
|
function legacyToolCallId(toolCallId) {
|
|
39854
39861
|
return toolCallId === UNKNOWN_MESSAGE_ID ? null : toolCallId;
|
|
39855
39862
|
}
|
|
39863
|
+
function errorOutput(errorText) {
|
|
39864
|
+
try {
|
|
39865
|
+
return JSON.parse(errorText);
|
|
39866
|
+
} catch {
|
|
39867
|
+
return errorText;
|
|
39868
|
+
}
|
|
39869
|
+
}
|
|
39856
39870
|
function terminalStatusText(projection) {
|
|
39857
39871
|
if (projection.statusText) {
|
|
39858
39872
|
return projection.statusText;
|
package/dist/index.js
CHANGED
|
@@ -18865,7 +18865,11 @@ var init_sessions = __esm({
|
|
|
18865
18865
|
});
|
|
18866
18866
|
SessionMessageOriginSchema = external_exports.object({
|
|
18867
18867
|
eventKey: external_exports.string().trim().min(1),
|
|
18868
|
-
provider: external_exports.string().trim().min(1).nullable().default(null)
|
|
18868
|
+
provider: external_exports.string().trim().min(1).nullable().default(null),
|
|
18869
|
+
// A link to the external artifact behind the routed event when one is
|
|
18870
|
+
// resolvable — the GitHub PR/comment/check page, or the Slack thread —
|
|
18871
|
+
// computed server-side from the event payload at read time.
|
|
18872
|
+
externalUrl: external_exports.string().trim().url().nullable().default(null)
|
|
18869
18873
|
});
|
|
18870
18874
|
SessionUiMessageRecordSchema = external_exports.object({
|
|
18871
18875
|
id: external_exports.string().trim().min(1),
|
|
@@ -19023,7 +19027,7 @@ var init_pricing = __esm({
|
|
|
19023
19027
|
});
|
|
19024
19028
|
|
|
19025
19029
|
// ../../packages/schemas/src/project-config.ts
|
|
19026
|
-
var RESOURCE_KIND_CONFIG, PROJECT_CONFIG_RESOURCE_NAME, PROJECT_CONFIG_FILE_NAME, ProjectConfigSpecSchema, ProjectConfigResourceSchema, ProjectConfigApplyRequestSchema, PROJECT_DEFAULT_AGENT_SOURCES, ProjectDefaultAgentSourceSchema, ProjectDefaultAgentSchema;
|
|
19030
|
+
var RESOURCE_KIND_CONFIG, PROJECT_CONFIG_RESOURCE_NAME, PROJECT_CONFIG_FILE_NAME, ProjectConfigSpecSchema, ProjectConfigResourceSchema, ProjectConfigApplyRequestSchema, PROJECT_DEFAULT_AGENT_SOURCES, ProjectDefaultAgentSourceSchema, ProjectDefaultAgentSchema, UpdateProjectSettingsRequestSchema;
|
|
19027
19031
|
var init_project_config = __esm({
|
|
19028
19032
|
"../../packages/schemas/src/project-config.ts"() {
|
|
19029
19033
|
"use strict";
|
|
@@ -19053,6 +19057,9 @@ var init_project_config = __esm({
|
|
|
19053
19057
|
agentName: ResourceNameSchema,
|
|
19054
19058
|
source: ProjectDefaultAgentSourceSchema
|
|
19055
19059
|
});
|
|
19060
|
+
UpdateProjectSettingsRequestSchema = external_exports.object({
|
|
19061
|
+
defaultAgentName: ResourceNameSchema.nullable()
|
|
19062
|
+
}).strict();
|
|
19056
19063
|
}
|
|
19057
19064
|
});
|
|
19058
19065
|
|
|
@@ -25572,7 +25579,7 @@ var init_package = __esm({
|
|
|
25572
25579
|
"package.json"() {
|
|
25573
25580
|
package_default = {
|
|
25574
25581
|
name: "@autohq/cli",
|
|
25575
|
-
version: "0.1.
|
|
25582
|
+
version: "0.1.308",
|
|
25576
25583
|
license: "SEE LICENSE IN README.md",
|
|
25577
25584
|
publishConfig: {
|
|
25578
25585
|
access: "public"
|
|
@@ -36922,7 +36929,7 @@ function legacyToolEntry(chunk) {
|
|
|
36922
36929
|
{
|
|
36923
36930
|
type: "tool_result",
|
|
36924
36931
|
toolUseId: legacyToolCallId(chunk.toolCallId),
|
|
36925
|
-
output: chunk.errorText,
|
|
36932
|
+
output: errorOutput(chunk.errorText),
|
|
36926
36933
|
isError: true
|
|
36927
36934
|
}
|
|
36928
36935
|
]
|
|
@@ -36950,6 +36957,13 @@ function legacyToolEntry(chunk) {
|
|
|
36950
36957
|
function legacyToolCallId(toolCallId) {
|
|
36951
36958
|
return toolCallId === UNKNOWN_MESSAGE_ID ? null : toolCallId;
|
|
36952
36959
|
}
|
|
36960
|
+
function errorOutput(errorText) {
|
|
36961
|
+
try {
|
|
36962
|
+
return JSON.parse(errorText);
|
|
36963
|
+
} catch {
|
|
36964
|
+
return errorText;
|
|
36965
|
+
}
|
|
36966
|
+
}
|
|
36953
36967
|
function terminalStatusText(projection) {
|
|
36954
36968
|
if (projection.statusText) {
|
|
36955
36969
|
return projection.statusText;
|