@armoriq/sdk-dev 0.3.3 → 0.3.5
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/_build_env.d.ts +13 -5
- package/dist/_build_env.d.ts.map +1 -1
- package/dist/_build_env.js +14 -6
- package/dist/_build_env.js.map +1 -1
- package/package.json +2 -2
package/dist/_build_env.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Build-time environment marker (matches armoriq-sdk-customer/_build_env.py).
|
|
3
3
|
*
|
|
4
|
-
* This file is
|
|
5
|
-
* Merging dev → main
|
|
6
|
-
*
|
|
4
|
+
* This file is one of two intentional divergence points between the
|
|
5
|
+
* `dev` and `main` branches. Merging dev → main will conflict here and
|
|
6
|
+
* in `package.json` (different `version` + `bin` name) — that's
|
|
7
|
+
* intentional, so the release owner consciously flips both defaults
|
|
7
8
|
* before publishing prod.
|
|
8
9
|
*
|
|
9
|
-
* main branch → ARMORIQ_ENV = "production" (prod URLs; published as
|
|
10
|
-
*
|
|
10
|
+
* main branch → ARMORIQ_ENV = "production" (prod URLs; published as @armoriq/sdk)
|
|
11
|
+
* package.json bin = "armoriq"
|
|
12
|
+
* dev branch → ARMORIQ_ENV = "staging" (staging URLs; published as @armoriq/sdk-dev)
|
|
13
|
+
* package.json bin = "armoriq-dev"
|
|
14
|
+
*
|
|
15
|
+
* The dev branch's bin is renamed to `armoriq-dev` so it can coexist
|
|
16
|
+
* with the prod `@armoriq/sdk` on the same machine without npm-bin
|
|
17
|
+
* collisions (which would otherwise cause silent PATH shadowing — a
|
|
18
|
+
* staging-targeted plugin would mint prod-scoped credentials).
|
|
11
19
|
*
|
|
12
20
|
* The baked constant is the branch-baked default. Set ARMORIQ_ENV=local
|
|
13
21
|
* (or staging/production) in your shell to override at runtime. Per-
|
package/dist/_build_env.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_build_env.d.ts","sourceRoot":"","sources":["../src/_build_env.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"_build_env.d.ts","sourceRoot":"","sources":["../src/_build_env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,MAAM,MAAM,OAAO,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;AAEzD,eAAO,MAAM,WAAW,EAAE,OAAmB,CAAC;AAY9C,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAgBtF,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,KAAK,CAAC;AAUvD,wBAAgB,eAAe,CAAC,IAAI,EAAE,YAAY,GAAG,MAAM,CAE1D"}
|
package/dist/_build_env.js
CHANGED
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Build-time environment marker (matches armoriq-sdk-customer/_build_env.py).
|
|
4
4
|
*
|
|
5
|
-
* This file is
|
|
6
|
-
* Merging dev → main
|
|
7
|
-
*
|
|
5
|
+
* This file is one of two intentional divergence points between the
|
|
6
|
+
* `dev` and `main` branches. Merging dev → main will conflict here and
|
|
7
|
+
* in `package.json` (different `version` + `bin` name) — that's
|
|
8
|
+
* intentional, so the release owner consciously flips both defaults
|
|
8
9
|
* before publishing prod.
|
|
9
10
|
*
|
|
10
|
-
* main branch → ARMORIQ_ENV = "production" (prod URLs; published as
|
|
11
|
-
*
|
|
11
|
+
* main branch → ARMORIQ_ENV = "production" (prod URLs; published as @armoriq/sdk)
|
|
12
|
+
* package.json bin = "armoriq"
|
|
13
|
+
* dev branch → ARMORIQ_ENV = "staging" (staging URLs; published as @armoriq/sdk-dev)
|
|
14
|
+
* package.json bin = "armoriq-dev"
|
|
15
|
+
*
|
|
16
|
+
* The dev branch's bin is renamed to `armoriq-dev` so it can coexist
|
|
17
|
+
* with the prod `@armoriq/sdk` on the same machine without npm-bin
|
|
18
|
+
* collisions (which would otherwise cause silent PATH shadowing — a
|
|
19
|
+
* staging-targeted plugin would mint prod-scoped credentials).
|
|
12
20
|
*
|
|
13
21
|
* The baked constant is the branch-baked default. Set ARMORIQ_ENV=local
|
|
14
22
|
* (or staging/production) in your shell to override at runtime. Per-
|
|
@@ -18,7 +26,7 @@
|
|
|
18
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
27
|
exports.ENDPOINTS = exports.ARMORIQ_ENV = void 0;
|
|
20
28
|
exports.resolveEndpoint = resolveEndpoint;
|
|
21
|
-
exports.ARMORIQ_ENV = '
|
|
29
|
+
exports.ARMORIQ_ENV = 'staging';
|
|
22
30
|
// Endpoint table — keep in sync with GCP Cloud Run domain mappings.
|
|
23
31
|
// prod:
|
|
24
32
|
// api.armoriq.ai → conmap-auto (us-central1)
|
package/dist/_build_env.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_build_env.js","sourceRoot":"","sources":["../src/_build_env.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"_build_env.js","sourceRoot":"","sources":["../src/_build_env.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AA4CH,0CAEC;AA1CY,QAAA,WAAW,GAAY,SAAS,CAAC;AAE9C,oEAAoE;AACpE,UAAU;AACV,gEAAgE;AAChE,gEAAgE;AAChE,gEAAgE;AAChE,aAAa;AACb,qFAAqF;AACrF,qFAAqF;AACrF,sFAAsF;AACtF,2CAA2C;AAC9B,QAAA,SAAS,GAAqE;IACzF,UAAU,EAAE;QACV,OAAO,EAAE,wBAAwB;QACjC,KAAK,EAAE,0BAA0B;QACjC,GAAG,EAAE,wBAAwB;KAC9B;IACD,OAAO,EAAE;QACP,OAAO,EAAE,gCAAgC;QACzC,KAAK,EAAE,oCAAoC;QAC3C,GAAG,EAAE,gCAAgC;KACtC;IACD,KAAK,EAAE;QACL,OAAO,EAAE,uBAAuB;QAChC,KAAK,EAAE,uBAAuB;QAC9B,GAAG,EAAE,uBAAuB;KAC7B;CACF,CAAC;AAIF,SAAS,SAAS;IAChB,MAAM,QAAQ,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IACtE,IAAI,QAAQ,KAAK,YAAY,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;QAChF,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,mBAAW,CAAC;AACrB,CAAC;AAED,SAAgB,eAAe,CAAC,IAAkB;IAChD,OAAO,iBAAS,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@armoriq/sdk-dev",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "ArmorIQ SDK - Build secure AI agents with cryptographic intent verification.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"armoriq": "dist/cli/index.js"
|
|
8
|
+
"armoriq-dev": "dist/cli/index.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsc",
|