@indy2kro/agentenv 0.1.1 → 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/README.md CHANGED
@@ -65,7 +65,17 @@ different config file format, that's what this fixes:
65
65
 
66
66
  ## Install
67
67
 
68
- ### From source (works today)
68
+ ### From npm (recommended)
69
+
70
+ ```sh
71
+ npm install -g @indy2kro/agentenv
72
+ ```
73
+
74
+ This installs the `agentenv` command itself, unchanged. The package is
75
+ published under the scoped name `@indy2kro/agentenv` (plain `agentenv` was
76
+ already taken on the registry).
77
+
78
+ ### From source
69
79
 
70
80
  ```sh
71
81
  git clone https://github.com/indy2kro/agentenv.git
@@ -83,19 +93,11 @@ again. Prefer not to touch global state? Run it in place instead:
83
93
  node dist/index.js setup
84
94
  ```
85
95
 
86
- ### From npm
87
-
88
- ```sh
89
- npm install -g @indy2kro/agentenv
90
- ```
91
-
92
- The package is published under the scoped name `@indy2kro/agentenv` (plain
93
- `agentenv` was already taken on the registry) — this installs the `agentenv`
94
- command itself, unchanged.
95
-
96
- Releases are cut from this repo by pushing a `vX.Y.Z` tag: GitHub Actions
97
- gates the tree and publishes with npm provenance automatically. Maintainers:
98
- see [`docs/guides/releasing.md`](../../docs/guides/releasing.md).
96
+ Releases are one button: run the `Release` GitHub Actions workflow from the
97
+ repo's Actions tab (patch/minor/major or an exact version). It bumps the
98
+ version in `package.json` + `package-lock.json`, gates the tree, publishes
99
+ with npm provenance, tags the release, and creates the GitHub release.
100
+ Maintainers: see [`docs/guides/releasing.md`](../../docs/guides/releasing.md).
99
101
 
100
102
  ## Quick start
101
103
 
@@ -301,7 +303,7 @@ npm run format:check
301
303
 
302
304
  See [`docs/guides/adding-an-adapter.md`](../../docs/guides/adding-an-adapter.md)
303
305
  for wiring in a fifth agent, [`docs/guides/releasing.md`](../../docs/guides/releasing.md)
304
- for shipping a new npm version (version tags + the `Publish` workflow), and
306
+ for shipping a new npm version (one-button `Release` workflow), and
305
307
  [`docs/plans/agentenv-dev-plan.md`](../../docs/plans/agentenv-dev-plan.md)
306
308
  for the full design, config schema rationale, and phase roadmap.
307
309
 
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
  * agentenv CLI - Main entrypoint
4
4
  * Configure a consistent, capable shell environment for AI coding agents
5
5
  */
6
+ import { readFileSync } from 'node:fs';
6
7
  import { Command } from 'commander';
7
8
  import { setupCommand } from './commands/setup.js';
8
9
  import { configureCommand } from './commands/configure.js';
@@ -10,12 +11,13 @@ import { applyCommand } from './commands/apply.js';
10
11
  import { statusCommand } from './commands/status.js';
11
12
  import { updateCommand } from './commands/update.js';
12
13
  import { doctorCommand } from './commands/doctor.js';
14
+ const { version } = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf-8'));
13
15
  // Create the CLI
14
16
  const program = new Command();
15
17
  program
16
18
  .name('agentenv')
17
19
  .description('Configure a consistent, capable shell environment for AI coding agents')
18
- .version('0.1.0');
20
+ .version(version);
19
21
  // Add commands
20
22
  program.addCommand(setupCommand);
21
23
  program.addCommand(configureCommand);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,iBAAiB;AACjB,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,UAAU,C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AwE,CAAC;KACrF,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,eAAe;AACf,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AACjC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACrC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AACjC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClC,OAAO,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAElC,oBAAoB;AACpB,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indy2kro/agentenv",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for configuring a consistent, capable shell environment for AI coding agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",