@autohq/cli 0.1.260 → 0.1.261
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 +51 -54
- package/dist/index.js +59 -55
- 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.261",
|
|
23344
23344
|
license: "SEE LICENSE IN README.md",
|
|
23345
23345
|
publishConfig: {
|
|
23346
23346
|
access: "public"
|
|
@@ -27877,60 +27877,50 @@ function compareSemver(left, right) {
|
|
|
27877
27877
|
return 0;
|
|
27878
27878
|
}
|
|
27879
27879
|
|
|
27880
|
+
// ../../packages/schemas/src/templates/content.generated.ts
|
|
27881
|
+
var GENERATED_TEMPLATE_CONTENT = {
|
|
27882
|
+
"@auto/onboarding": [
|
|
27883
|
+
{
|
|
27884
|
+
version: "1.0.0",
|
|
27885
|
+
files: [
|
|
27886
|
+
{
|
|
27887
|
+
path: "fragments/onboarding.yaml",
|
|
27888
|
+
content: "# Managed onboarding fragment (@auto/onboarding). Tenant onboarding agents\n# import this to inherit Auto's house onboarding guidance. Tenant fields win\n# on merge, so house tweaks can be layered on top of this base.\nsystemPrompt: |\n You are an Auto onboarding guide. Greet the user warmly, explain that Auto\n lets them compose agents and triggers into automated workflows from simple\n `.auto/` YAML, and guide them to their first deployed workflow. Keep replies\n short and conversational, ask one question at a time, and verify each step\n actually worked before telling the user it did."
|
|
27889
|
+
}
|
|
27890
|
+
]
|
|
27891
|
+
}
|
|
27892
|
+
],
|
|
27893
|
+
"@auto/smoke-test": [
|
|
27894
|
+
{
|
|
27895
|
+
version: "1.0.0",
|
|
27896
|
+
files: [
|
|
27897
|
+
{
|
|
27898
|
+
path: "fragments/smoke-test.yaml",
|
|
27899
|
+
content: "# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained\n# fixture for verifying that managed templates resolve and inject cleanly.\n# Importing agents inherit this base guidance; tenant fields win on merge.\nsystemPrompt: |\n You are the Auto smoke-test agent, a minimal fixture used to confirm that\n managed templates resolve and inject correctly. When asked to run the smoke\n test, reply with a single short sentence confirming it passed, and do\n nothing else."
|
|
27900
|
+
}
|
|
27901
|
+
]
|
|
27902
|
+
}
|
|
27903
|
+
]
|
|
27904
|
+
};
|
|
27905
|
+
|
|
27880
27906
|
// ../../packages/schemas/src/templates/hardcoded.ts
|
|
27881
|
-
var
|
|
27882
|
-
"
|
|
27883
|
-
"
|
|
27884
|
-
|
|
27885
|
-
|
|
27886
|
-
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27891
|
-
|
|
27892
|
-
|
|
27893
|
-
|
|
27894
|
-
|
|
27895
|
-
|
|
27896
|
-
|
|
27897
|
-
|
|
27898
|
-
" managed templates resolve and inject correctly. When asked to run the smoke",
|
|
27899
|
-
" test, reply with a single short sentence confirming it passed, and do",
|
|
27900
|
-
" nothing else."
|
|
27901
|
-
].join("\n");
|
|
27902
|
-
var MANAGED_TEMPLATES = [
|
|
27903
|
-
{
|
|
27904
|
-
name: "@auto/onboarding",
|
|
27905
|
-
description: "Auto's house onboarding guidance, importable as a managed template.",
|
|
27906
|
-
versions: [
|
|
27907
|
-
{
|
|
27908
|
-
version: "1.0.0",
|
|
27909
|
-
files: [
|
|
27910
|
-
{
|
|
27911
|
-
path: "fragments/onboarding.yaml",
|
|
27912
|
-
content: ONBOARDING_FRAGMENT_V1
|
|
27913
|
-
}
|
|
27914
|
-
]
|
|
27915
|
-
}
|
|
27916
|
-
]
|
|
27917
|
-
},
|
|
27918
|
-
{
|
|
27919
|
-
name: "@auto/smoke-test",
|
|
27920
|
-
description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
|
|
27921
|
-
versions: [
|
|
27922
|
-
{
|
|
27923
|
-
version: "1.0.0",
|
|
27924
|
-
files: [
|
|
27925
|
-
{
|
|
27926
|
-
path: "fragments/smoke-test.yaml",
|
|
27927
|
-
content: SMOKE_TEST_FRAGMENT_V1
|
|
27928
|
-
}
|
|
27929
|
-
]
|
|
27930
|
-
}
|
|
27931
|
-
]
|
|
27932
|
-
}
|
|
27933
|
-
];
|
|
27907
|
+
var TEMPLATE_DESCRIPTIONS = {
|
|
27908
|
+
"@auto/onboarding": "Auto's house onboarding guidance, importable as a managed template.",
|
|
27909
|
+
"@auto/smoke-test": "A minimal managed-template smoke-test fixture for end-to-end verification."
|
|
27910
|
+
};
|
|
27911
|
+
var MANAGED_TEMPLATES = Object.entries(
|
|
27912
|
+
GENERATED_TEMPLATE_CONTENT
|
|
27913
|
+
).map(([name, versions]) => ({
|
|
27914
|
+
name,
|
|
27915
|
+
description: requireDescription(name),
|
|
27916
|
+
versions: versions.map((version2) => ({
|
|
27917
|
+
version: version2.version,
|
|
27918
|
+
files: version2.files.map((file2) => ({
|
|
27919
|
+
path: file2.path,
|
|
27920
|
+
content: file2.content
|
|
27921
|
+
}))
|
|
27922
|
+
}))
|
|
27923
|
+
}));
|
|
27934
27924
|
var HardcodedTemplateRegistry = class {
|
|
27935
27925
|
templates;
|
|
27936
27926
|
constructor(templates = MANAGED_TEMPLATES) {
|
|
@@ -27980,6 +27970,13 @@ var HardcodedTemplateRegistry = class {
|
|
|
27980
27970
|
}
|
|
27981
27971
|
};
|
|
27982
27972
|
var defaultTemplateRegistry = new HardcodedTemplateRegistry();
|
|
27973
|
+
function requireDescription(name) {
|
|
27974
|
+
const description = TEMPLATE_DESCRIPTIONS[name];
|
|
27975
|
+
if (!description) {
|
|
27976
|
+
throw new Error(`Managed template ${name} is missing a description`);
|
|
27977
|
+
}
|
|
27978
|
+
return description;
|
|
27979
|
+
}
|
|
27983
27980
|
function toBundleFile(file2) {
|
|
27984
27981
|
return {
|
|
27985
27982
|
path: file2.path,
|
package/dist/index.js
CHANGED
|
@@ -19771,7 +19771,46 @@ var init_registry = __esm({
|
|
|
19771
19771
|
}
|
|
19772
19772
|
});
|
|
19773
19773
|
|
|
19774
|
+
// ../../packages/schemas/src/templates/content.generated.ts
|
|
19775
|
+
var GENERATED_TEMPLATE_CONTENT;
|
|
19776
|
+
var init_content_generated = __esm({
|
|
19777
|
+
"../../packages/schemas/src/templates/content.generated.ts"() {
|
|
19778
|
+
"use strict";
|
|
19779
|
+
GENERATED_TEMPLATE_CONTENT = {
|
|
19780
|
+
"@auto/onboarding": [
|
|
19781
|
+
{
|
|
19782
|
+
version: "1.0.0",
|
|
19783
|
+
files: [
|
|
19784
|
+
{
|
|
19785
|
+
path: "fragments/onboarding.yaml",
|
|
19786
|
+
content: "# Managed onboarding fragment (@auto/onboarding). Tenant onboarding agents\n# import this to inherit Auto's house onboarding guidance. Tenant fields win\n# on merge, so house tweaks can be layered on top of this base.\nsystemPrompt: |\n You are an Auto onboarding guide. Greet the user warmly, explain that Auto\n lets them compose agents and triggers into automated workflows from simple\n `.auto/` YAML, and guide them to their first deployed workflow. Keep replies\n short and conversational, ask one question at a time, and verify each step\n actually worked before telling the user it did."
|
|
19787
|
+
}
|
|
19788
|
+
]
|
|
19789
|
+
}
|
|
19790
|
+
],
|
|
19791
|
+
"@auto/smoke-test": [
|
|
19792
|
+
{
|
|
19793
|
+
version: "1.0.0",
|
|
19794
|
+
files: [
|
|
19795
|
+
{
|
|
19796
|
+
path: "fragments/smoke-test.yaml",
|
|
19797
|
+
content: "# Managed smoke-test fragment (@auto/smoke-test). A minimal, self-contained\n# fixture for verifying that managed templates resolve and inject cleanly.\n# Importing agents inherit this base guidance; tenant fields win on merge.\nsystemPrompt: |\n You are the Auto smoke-test agent, a minimal fixture used to confirm that\n managed templates resolve and inject correctly. When asked to run the smoke\n test, reply with a single short sentence confirming it passed, and do\n nothing else."
|
|
19798
|
+
}
|
|
19799
|
+
]
|
|
19800
|
+
}
|
|
19801
|
+
]
|
|
19802
|
+
};
|
|
19803
|
+
}
|
|
19804
|
+
});
|
|
19805
|
+
|
|
19774
19806
|
// ../../packages/schemas/src/templates/hardcoded.ts
|
|
19807
|
+
function requireDescription(name) {
|
|
19808
|
+
const description = TEMPLATE_DESCRIPTIONS[name];
|
|
19809
|
+
if (!description) {
|
|
19810
|
+
throw new Error(`Managed template ${name} is missing a description`);
|
|
19811
|
+
}
|
|
19812
|
+
return description;
|
|
19813
|
+
}
|
|
19775
19814
|
function toBundleFile(file2) {
|
|
19776
19815
|
return {
|
|
19777
19816
|
path: file2.path,
|
|
@@ -19788,64 +19827,29 @@ function toManagedTemplate(template) {
|
|
|
19788
19827
|
versions: template.versions.map(toTemplateVersion)
|
|
19789
19828
|
};
|
|
19790
19829
|
}
|
|
19791
|
-
var
|
|
19830
|
+
var TEMPLATE_DESCRIPTIONS, MANAGED_TEMPLATES, HardcodedTemplateRegistry, defaultTemplateRegistry;
|
|
19792
19831
|
var init_hardcoded = __esm({
|
|
19793
19832
|
"../../packages/schemas/src/templates/hardcoded.ts"() {
|
|
19794
19833
|
"use strict";
|
|
19834
|
+
init_content_generated();
|
|
19795
19835
|
init_registry();
|
|
19796
|
-
|
|
19797
|
-
"
|
|
19798
|
-
"
|
|
19799
|
-
|
|
19800
|
-
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
|
|
19806
|
-
|
|
19807
|
-
|
|
19808
|
-
|
|
19809
|
-
|
|
19810
|
-
|
|
19811
|
-
|
|
19812
|
-
|
|
19813
|
-
" managed templates resolve and inject correctly. When asked to run the smoke",
|
|
19814
|
-
" test, reply with a single short sentence confirming it passed, and do",
|
|
19815
|
-
" nothing else."
|
|
19816
|
-
].join("\n");
|
|
19817
|
-
MANAGED_TEMPLATES = [
|
|
19818
|
-
{
|
|
19819
|
-
name: "@auto/onboarding",
|
|
19820
|
-
description: "Auto's house onboarding guidance, importable as a managed template.",
|
|
19821
|
-
versions: [
|
|
19822
|
-
{
|
|
19823
|
-
version: "1.0.0",
|
|
19824
|
-
files: [
|
|
19825
|
-
{
|
|
19826
|
-
path: "fragments/onboarding.yaml",
|
|
19827
|
-
content: ONBOARDING_FRAGMENT_V1
|
|
19828
|
-
}
|
|
19829
|
-
]
|
|
19830
|
-
}
|
|
19831
|
-
]
|
|
19832
|
-
},
|
|
19833
|
-
{
|
|
19834
|
-
name: "@auto/smoke-test",
|
|
19835
|
-
description: "A minimal managed-template smoke-test fixture for end-to-end verification.",
|
|
19836
|
-
versions: [
|
|
19837
|
-
{
|
|
19838
|
-
version: "1.0.0",
|
|
19839
|
-
files: [
|
|
19840
|
-
{
|
|
19841
|
-
path: "fragments/smoke-test.yaml",
|
|
19842
|
-
content: SMOKE_TEST_FRAGMENT_V1
|
|
19843
|
-
}
|
|
19844
|
-
]
|
|
19845
|
-
}
|
|
19846
|
-
]
|
|
19847
|
-
}
|
|
19848
|
-
];
|
|
19836
|
+
TEMPLATE_DESCRIPTIONS = {
|
|
19837
|
+
"@auto/onboarding": "Auto's house onboarding guidance, importable as a managed template.",
|
|
19838
|
+
"@auto/smoke-test": "A minimal managed-template smoke-test fixture for end-to-end verification."
|
|
19839
|
+
};
|
|
19840
|
+
MANAGED_TEMPLATES = Object.entries(
|
|
19841
|
+
GENERATED_TEMPLATE_CONTENT
|
|
19842
|
+
).map(([name, versions]) => ({
|
|
19843
|
+
name,
|
|
19844
|
+
description: requireDescription(name),
|
|
19845
|
+
versions: versions.map((version2) => ({
|
|
19846
|
+
version: version2.version,
|
|
19847
|
+
files: version2.files.map((file2) => ({
|
|
19848
|
+
path: file2.path,
|
|
19849
|
+
content: file2.content
|
|
19850
|
+
}))
|
|
19851
|
+
}))
|
|
19852
|
+
}));
|
|
19849
19853
|
HardcodedTemplateRegistry = class {
|
|
19850
19854
|
templates;
|
|
19851
19855
|
constructor(templates = MANAGED_TEMPLATES) {
|
|
@@ -22782,7 +22786,7 @@ var init_package = __esm({
|
|
|
22782
22786
|
"package.json"() {
|
|
22783
22787
|
package_default = {
|
|
22784
22788
|
name: "@autohq/cli",
|
|
22785
|
-
version: "0.1.
|
|
22789
|
+
version: "0.1.261",
|
|
22786
22790
|
license: "SEE LICENSE IN README.md",
|
|
22787
22791
|
publishConfig: {
|
|
22788
22792
|
access: "public"
|