agentscale 0.1.0 → 0.1.2
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/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/config.js.map +1 -1
- package/package.json +18 -4
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAKvB,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AAKvB,eAAO,MAAM,OAAO,QAAgE,CAAC;AAKrF,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAG/C;AAED,wBAAgB,UAAU,IAAI,MAAM,GAAG,IAAI,CAO1C"}
|
package/dist/config.js
CHANGED
|
@@ -2,7 +2,7 @@ import "dotenv/config";
|
|
|
2
2
|
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
|
-
export const API_URL = process.env.AGENTSCALE_API_URL ?? "
|
|
5
|
+
export const API_URL = process.env.AGENTSCALE_API_URL ?? "https://api.agentscale.co";
|
|
6
6
|
const CONFIG_DIR = path.join(os.homedir(), ".agentscale");
|
|
7
7
|
const CONFIG_FILE = path.join(CONFIG_DIR, "config.json");
|
|
8
8
|
export function saveApiKey(apiKey) {
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,2BAA2B,CAAC;AAErF,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,aAAa,CAAC,CAAC;AAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AAEzD,MAAM,UAAU,UAAU,CAAC,MAAc;IACvC,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3C,aAAa,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;QAC5D,OAAO,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC;IAC7B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentscale",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Deploy
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Deploy web apps and APIs to a public URL with a single command.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/jpbonch/agentscale.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/jpbonch/agentscale#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/jpbonch/agentscale/issues"
|
|
12
|
+
},
|
|
5
13
|
"type": "module",
|
|
6
14
|
"bin": {
|
|
7
15
|
"agentscale": "dist/index.js"
|
|
8
16
|
},
|
|
9
|
-
"files": [
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
10
20
|
"scripts": {
|
|
11
21
|
"dev": "bun --watch src/index.ts",
|
|
12
|
-
"build": "tsc -p tsconfig.json",
|
|
22
|
+
"build": "npx tsc -p tsconfig.json",
|
|
13
23
|
"prepublishOnly": "npm run build",
|
|
14
24
|
"start": "node dist/index.js"
|
|
15
25
|
},
|
|
16
26
|
"dependencies": {
|
|
17
27
|
"commander": "^13.0.0",
|
|
18
28
|
"dotenv": "^17.3.1"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/node": "^25.2.3",
|
|
32
|
+
"typescript": "^5.9.3"
|
|
19
33
|
}
|
|
20
34
|
}
|