@autohq/cli 0.1.252 → 0.1.254
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 +26 -1
- package/dist/index.js +41 -2
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -23340,7 +23340,7 @@ Object.assign(lookup, {
|
|
|
23340
23340
|
// package.json
|
|
23341
23341
|
var package_default = {
|
|
23342
23342
|
name: "@autohq/cli",
|
|
23343
|
-
version: "0.1.
|
|
23343
|
+
version: "0.1.254",
|
|
23344
23344
|
license: "SEE LICENSE IN README.md",
|
|
23345
23345
|
publishConfig: {
|
|
23346
23346
|
access: "public"
|
|
@@ -27848,6 +27848,16 @@ var ONBOARDING_FRAGMENT_V1 = [
|
|
|
27848
27848
|
" short and conversational, ask one question at a time, and verify each step",
|
|
27849
27849
|
" actually worked before telling the user it did."
|
|
27850
27850
|
].join("\n");
|
|
27851
|
+
var SMOKE_TEST_FRAGMENT_V1 = [
|
|
27852
|
+
"# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained",
|
|
27853
|
+
"# fixture for verifying that managed templates resolve and inject cleanly.",
|
|
27854
|
+
"# Importing agents inherit this base guidance; tenant fields win on merge.",
|
|
27855
|
+
"systemPrompt: |",
|
|
27856
|
+
" You are the Auto smoke-test agent, a minimal fixture used to confirm that",
|
|
27857
|
+
" managed templates resolve and inject correctly. When asked to run the smoke",
|
|
27858
|
+
" test, reply with a single short sentence confirming it passed, and do",
|
|
27859
|
+
" nothing else."
|
|
27860
|
+
].join("\n");
|
|
27851
27861
|
var MANAGED_TEMPLATES = [
|
|
27852
27862
|
{
|
|
27853
27863
|
name: "@auto/onboarding",
|
|
@@ -27863,6 +27873,21 @@ var MANAGED_TEMPLATES = [
|
|
|
27863
27873
|
]
|
|
27864
27874
|
}
|
|
27865
27875
|
]
|
|
27876
|
+
},
|
|
27877
|
+
{
|
|
27878
|
+
name: "@auto/smoke-test",
|
|
27879
|
+
description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
|
|
27880
|
+
versions: [
|
|
27881
|
+
{
|
|
27882
|
+
version: "1.0.0",
|
|
27883
|
+
files: [
|
|
27884
|
+
{
|
|
27885
|
+
path: "fragments/smoke-test.yaml",
|
|
27886
|
+
content: SMOKE_TEST_FRAGMENT_V1
|
|
27887
|
+
}
|
|
27888
|
+
]
|
|
27889
|
+
}
|
|
27890
|
+
]
|
|
27866
27891
|
}
|
|
27867
27892
|
];
|
|
27868
27893
|
var HardcodedTemplateRegistry = class {
|
package/dist/index.js
CHANGED
|
@@ -19739,7 +19739,7 @@ function toManagedTemplate(template) {
|
|
|
19739
19739
|
versions: template.versions.map(toTemplateVersion)
|
|
19740
19740
|
};
|
|
19741
19741
|
}
|
|
19742
|
-
var ONBOARDING_FRAGMENT_V1, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
|
|
19742
|
+
var ONBOARDING_FRAGMENT_V1, SMOKE_TEST_FRAGMENT_V1, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
|
|
19743
19743
|
var init_hardcoded = __esm({
|
|
19744
19744
|
"../../packages/schemas/src/templates/hardcoded.ts"() {
|
|
19745
19745
|
"use strict";
|
|
@@ -19755,6 +19755,16 @@ var init_hardcoded = __esm({
|
|
|
19755
19755
|
" short and conversational, ask one question at a time, and verify each step",
|
|
19756
19756
|
" actually worked before telling the user it did."
|
|
19757
19757
|
].join("\n");
|
|
19758
|
+
SMOKE_TEST_FRAGMENT_V1 = [
|
|
19759
|
+
"# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained",
|
|
19760
|
+
"# fixture for verifying that managed templates resolve and inject cleanly.",
|
|
19761
|
+
"# Importing agents inherit this base guidance; tenant fields win on merge.",
|
|
19762
|
+
"systemPrompt: |",
|
|
19763
|
+
" You are the Auto smoke-test agent, a minimal fixture used to confirm that",
|
|
19764
|
+
" managed templates resolve and inject correctly. When asked to run the smoke",
|
|
19765
|
+
" test, reply with a single short sentence confirming it passed, and do",
|
|
19766
|
+
" nothing else."
|
|
19767
|
+
].join("\n");
|
|
19758
19768
|
MANAGED_TEMPLATES = [
|
|
19759
19769
|
{
|
|
19760
19770
|
name: "@auto/onboarding",
|
|
@@ -19770,6 +19780,21 @@ var init_hardcoded = __esm({
|
|
|
19770
19780
|
]
|
|
19771
19781
|
}
|
|
19772
19782
|
]
|
|
19783
|
+
},
|
|
19784
|
+
{
|
|
19785
|
+
name: "@auto/smoke-test",
|
|
19786
|
+
description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
|
|
19787
|
+
versions: [
|
|
19788
|
+
{
|
|
19789
|
+
version: "1.0.0",
|
|
19790
|
+
files: [
|
|
19791
|
+
{
|
|
19792
|
+
path: "fragments/smoke-test.yaml",
|
|
19793
|
+
content: SMOKE_TEST_FRAGMENT_V1
|
|
19794
|
+
}
|
|
19795
|
+
]
|
|
19796
|
+
}
|
|
19797
|
+
]
|
|
19773
19798
|
}
|
|
19774
19799
|
];
|
|
19775
19800
|
HardcodedTemplateRegistry = class {
|
|
@@ -22707,7 +22732,7 @@ var init_package = __esm({
|
|
|
22707
22732
|
"package.json"() {
|
|
22708
22733
|
package_default = {
|
|
22709
22734
|
name: "@autohq/cli",
|
|
22710
|
-
version: "0.1.
|
|
22735
|
+
version: "0.1.254",
|
|
22711
22736
|
license: "SEE LICENSE IN README.md",
|
|
22712
22737
|
publishConfig: {
|
|
22713
22738
|
access: "public"
|
|
@@ -24666,6 +24691,16 @@ var init_template_injection = __esm({
|
|
|
24666
24691
|
}
|
|
24667
24692
|
});
|
|
24668
24693
|
|
|
24694
|
+
// ../../packages/schemas/src/project-apply-files/template-bump-diagnostics.ts
|
|
24695
|
+
var init_template_bump_diagnostics = __esm({
|
|
24696
|
+
"../../packages/schemas/src/project-apply-files/template-bump-diagnostics.ts"() {
|
|
24697
|
+
"use strict";
|
|
24698
|
+
init_agents();
|
|
24699
|
+
init_templates();
|
|
24700
|
+
init_source();
|
|
24701
|
+
}
|
|
24702
|
+
});
|
|
24703
|
+
|
|
24669
24704
|
// ../../packages/schemas/src/project-apply-files/index.ts
|
|
24670
24705
|
function readProjectApplyDirectorySource(input) {
|
|
24671
24706
|
const resourceRoot = normalizeSourcePath(input.resourceRoot ?? "");
|
|
@@ -24812,11 +24847,15 @@ var init_project_apply_files = __esm({
|
|
|
24812
24847
|
init_environments();
|
|
24813
24848
|
init_identities();
|
|
24814
24849
|
init_project_resources();
|
|
24850
|
+
init_templates();
|
|
24815
24851
|
init_agent_authoring();
|
|
24852
|
+
init_agent_document_merge();
|
|
24816
24853
|
init_apply_result();
|
|
24817
24854
|
init_assets();
|
|
24818
24855
|
init_source();
|
|
24819
24856
|
init_template_injection();
|
|
24857
|
+
init_template_injection();
|
|
24858
|
+
init_template_bump_diagnostics();
|
|
24820
24859
|
}
|
|
24821
24860
|
});
|
|
24822
24861
|
|