struere 0.3.1 → 0.3.3
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/bin/struere.js +54 -2
- package/dist/cli/index.js +54 -2
- package/package.json +1 -1
package/dist/bin/struere.js
CHANGED
|
@@ -16722,7 +16722,7 @@ function getApiKey() {
|
|
|
16722
16722
|
}
|
|
16723
16723
|
|
|
16724
16724
|
// src/cli/utils/convex.ts
|
|
16725
|
-
var CONVEX_URL = process.env.STRUERE_CONVEX_URL || "https://
|
|
16725
|
+
var CONVEX_URL = process.env.STRUERE_CONVEX_URL || "https://rapid-wildebeest-172.convex.cloud";
|
|
16726
16726
|
async function syncToConvex(agentId, config) {
|
|
16727
16727
|
const credentials = loadCredentials();
|
|
16728
16728
|
const apiKey = getApiKey();
|
|
@@ -18712,9 +18712,61 @@ var whoamiCommand = new Command("whoami").description("Show current logged in us
|
|
|
18712
18712
|
console.log();
|
|
18713
18713
|
}
|
|
18714
18714
|
});
|
|
18715
|
+
// package.json
|
|
18716
|
+
var package_default = {
|
|
18717
|
+
name: "struere",
|
|
18718
|
+
version: "0.3.3",
|
|
18719
|
+
description: "Build, test, and deploy AI agents",
|
|
18720
|
+
keywords: ["ai", "agents", "llm", "anthropic", "openai", "framework", "cli"],
|
|
18721
|
+
author: "struere",
|
|
18722
|
+
license: "MIT",
|
|
18723
|
+
publishConfig: {
|
|
18724
|
+
access: "public"
|
|
18725
|
+
},
|
|
18726
|
+
repository: {
|
|
18727
|
+
type: "git",
|
|
18728
|
+
url: "git+https://github.com/struere/struere.git",
|
|
18729
|
+
directory: "packages/struere"
|
|
18730
|
+
},
|
|
18731
|
+
homepage: "https://struere.dev",
|
|
18732
|
+
bugs: {
|
|
18733
|
+
url: "https://github.com/struere/struere/issues"
|
|
18734
|
+
},
|
|
18735
|
+
type: "module",
|
|
18736
|
+
bin: {
|
|
18737
|
+
struere: "./dist/bin/struere.js"
|
|
18738
|
+
},
|
|
18739
|
+
main: "./dist/index.js",
|
|
18740
|
+
types: "./dist/index.d.ts",
|
|
18741
|
+
exports: {
|
|
18742
|
+
".": {
|
|
18743
|
+
import: "./dist/index.js",
|
|
18744
|
+
types: "./dist/index.d.ts"
|
|
18745
|
+
}
|
|
18746
|
+
},
|
|
18747
|
+
files: ["dist"],
|
|
18748
|
+
scripts: {
|
|
18749
|
+
build: "bun build ./src/cli/index.ts --outdir ./dist/cli --target bun --external commander --external chalk --external ora --external chokidar --external yaml && bun build ./src/index.ts --outdir ./dist --target node && bun build ./src/bin/struere.ts --outdir ./dist/bin --target bun && tsc --emitDeclarationOnly && chmod +x ./dist/bin/struere.js",
|
|
18750
|
+
dev: "tsc --watch",
|
|
18751
|
+
test: "bun test",
|
|
18752
|
+
prepublishOnly: "bun run build"
|
|
18753
|
+
},
|
|
18754
|
+
dependencies: {
|
|
18755
|
+
chalk: "^5.3.0",
|
|
18756
|
+
chokidar: "^3.5.3",
|
|
18757
|
+
commander: "^12.0.0",
|
|
18758
|
+
convex: "^1.17.4",
|
|
18759
|
+
ora: "^8.0.0",
|
|
18760
|
+
yaml: "^2.3.4"
|
|
18761
|
+
},
|
|
18762
|
+
devDependencies: {
|
|
18763
|
+
"bun-types": "^1.0.0",
|
|
18764
|
+
typescript: "^5.3.0"
|
|
18765
|
+
}
|
|
18766
|
+
};
|
|
18715
18767
|
|
|
18716
18768
|
// src/cli/index.ts
|
|
18717
|
-
var CURRENT_VERSION =
|
|
18769
|
+
var CURRENT_VERSION = package_default.version;
|
|
18718
18770
|
async function checkForUpdates() {
|
|
18719
18771
|
if (process.env.STRUERE_SKIP_UPDATE_CHECK)
|
|
18720
18772
|
return;
|
package/dist/cli/index.js
CHANGED
|
@@ -61,7 +61,7 @@ import chalk from "chalk";
|
|
|
61
61
|
import ora from "ora";
|
|
62
62
|
|
|
63
63
|
// src/cli/utils/convex.ts
|
|
64
|
-
var CONVEX_URL = process.env.STRUERE_CONVEX_URL || "https://
|
|
64
|
+
var CONVEX_URL = process.env.STRUERE_CONVEX_URL || "https://rapid-wildebeest-172.convex.cloud";
|
|
65
65
|
async function syncToConvex(agentId, config) {
|
|
66
66
|
const credentials = loadCredentials();
|
|
67
67
|
const apiKey = getApiKey();
|
|
@@ -2077,9 +2077,61 @@ var whoamiCommand = new Command11("whoami").description("Show current logged in
|
|
|
2077
2077
|
console.log();
|
|
2078
2078
|
}
|
|
2079
2079
|
});
|
|
2080
|
+
// package.json
|
|
2081
|
+
var package_default = {
|
|
2082
|
+
name: "struere",
|
|
2083
|
+
version: "0.3.3",
|
|
2084
|
+
description: "Build, test, and deploy AI agents",
|
|
2085
|
+
keywords: ["ai", "agents", "llm", "anthropic", "openai", "framework", "cli"],
|
|
2086
|
+
author: "struere",
|
|
2087
|
+
license: "MIT",
|
|
2088
|
+
publishConfig: {
|
|
2089
|
+
access: "public"
|
|
2090
|
+
},
|
|
2091
|
+
repository: {
|
|
2092
|
+
type: "git",
|
|
2093
|
+
url: "git+https://github.com/struere/struere.git",
|
|
2094
|
+
directory: "packages/struere"
|
|
2095
|
+
},
|
|
2096
|
+
homepage: "https://struere.dev",
|
|
2097
|
+
bugs: {
|
|
2098
|
+
url: "https://github.com/struere/struere/issues"
|
|
2099
|
+
},
|
|
2100
|
+
type: "module",
|
|
2101
|
+
bin: {
|
|
2102
|
+
struere: "./dist/bin/struere.js"
|
|
2103
|
+
},
|
|
2104
|
+
main: "./dist/index.js",
|
|
2105
|
+
types: "./dist/index.d.ts",
|
|
2106
|
+
exports: {
|
|
2107
|
+
".": {
|
|
2108
|
+
import: "./dist/index.js",
|
|
2109
|
+
types: "./dist/index.d.ts"
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
files: ["dist"],
|
|
2113
|
+
scripts: {
|
|
2114
|
+
build: "bun build ./src/cli/index.ts --outdir ./dist/cli --target bun --external commander --external chalk --external ora --external chokidar --external yaml && bun build ./src/index.ts --outdir ./dist --target node && bun build ./src/bin/struere.ts --outdir ./dist/bin --target bun && tsc --emitDeclarationOnly && chmod +x ./dist/bin/struere.js",
|
|
2115
|
+
dev: "tsc --watch",
|
|
2116
|
+
test: "bun test",
|
|
2117
|
+
prepublishOnly: "bun run build"
|
|
2118
|
+
},
|
|
2119
|
+
dependencies: {
|
|
2120
|
+
chalk: "^5.3.0",
|
|
2121
|
+
chokidar: "^3.5.3",
|
|
2122
|
+
commander: "^12.0.0",
|
|
2123
|
+
convex: "^1.17.4",
|
|
2124
|
+
ora: "^8.0.0",
|
|
2125
|
+
yaml: "^2.3.4"
|
|
2126
|
+
},
|
|
2127
|
+
devDependencies: {
|
|
2128
|
+
"bun-types": "^1.0.0",
|
|
2129
|
+
typescript: "^5.3.0"
|
|
2130
|
+
}
|
|
2131
|
+
};
|
|
2080
2132
|
|
|
2081
2133
|
// src/cli/index.ts
|
|
2082
|
-
var CURRENT_VERSION =
|
|
2134
|
+
var CURRENT_VERSION = package_default.version;
|
|
2083
2135
|
async function checkForUpdates() {
|
|
2084
2136
|
if (process.env.STRUERE_SKIP_UPDATE_CHECK)
|
|
2085
2137
|
return;
|