artipod 0.4.0

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -0
  3. package/bin.mjs +11 -0
  4. package/package.json +36 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Medical Informatics Engineering, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # artipod
2
+
3
+ The artipod CLI. This is an alias package so `npx artipod` works — everything
4
+ lives in [`@artipod/core`](https://www.npmjs.com/package/@artipod/core); this
5
+ package just runs its CLI.
6
+
7
+ ```sh
8
+ npx artipod run -it # fresh pod → artipod-bash, kept under ~/.artipod/pods
9
+ npx artipod run -it alpine:3.22 # a registry image, cloned in writable
10
+ npm install -g artipod # permanent `artipod` on PATH
11
+ ```
12
+
13
+ A pod is a virtual filesystem your AI can reason in, your users can shell
14
+ into, and your infrastructure can version, encrypt, and synchronize.
15
+ Docs, source, and the library API: [github.com/mieweb/artipod](https://github.com/mieweb/artipod).
package/bin.mjs ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+ // `npx artipod` sugar: run @artipod/core's CLI in-process. The file-URL import
3
+ // sidesteps core's exports map, which doesn't expose ./dist/cli.js as a subpath.
4
+ import { createRequire } from 'node:module';
5
+ import { pathToFileURL } from 'node:url';
6
+ import { dirname, join } from 'node:path';
7
+
8
+ const require = createRequire(import.meta.url);
9
+ const pkgJsonPath = require.resolve('@artipod/core/package.json');
10
+ const { bin } = require(pkgJsonPath);
11
+ await import(pathToFileURL(join(dirname(pkgJsonPath), bin.artipod)).href);
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "artipod",
3
+ "version": "0.4.0",
4
+ "description": "The artipod CLI — `npx artipod run -it`. Alias package for @artipod/core.",
5
+ "type": "module",
6
+ "bin": {
7
+ "artipod": "bin.mjs"
8
+ },
9
+ "files": [
10
+ "bin.mjs"
11
+ ],
12
+ "dependencies": {
13
+ "@artipod/core": "^0.4.0"
14
+ },
15
+ "engines": {
16
+ "node": ">=20.0.0"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/mieweb/artipod.git",
21
+ "directory": "packages/artipod"
22
+ },
23
+ "homepage": "https://github.com/mieweb/artipod#readme",
24
+ "bugs": {
25
+ "url": "https://github.com/mieweb/artipod/issues"
26
+ },
27
+ "keywords": [
28
+ "ai",
29
+ "sandbox",
30
+ "cli",
31
+ "pod",
32
+ "oci"
33
+ ],
34
+ "author": "Medical Informatics Engineering, LLC",
35
+ "license": "MIT"
36
+ }