@ory/argus 0.1.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.
- package/README.md +134 -0
- package/assets/commands/local-down.md +19 -0
- package/assets/commands/local-up.md +27 -0
- package/assets/skills/auth-setup/SKILL.md +279 -0
- package/assets/skills/local-dev/SKILL.md +206 -0
- package/assets/skills/login-flow/SKILL.md +383 -0
- package/assets/skills/social-login/SKILL.md +312 -0
- package/dist/agent-auth.d.ts +204 -0
- package/dist/agent-auth.js +553 -0
- package/dist/auth-gate.d.ts +71 -0
- package/dist/auth-gate.js +308 -0
- package/dist/auth-store.d.ts +75 -0
- package/dist/auth-store.js +261 -0
- package/dist/auth.d.ts +93 -0
- package/dist/auth.js +323 -0
- package/dist/cli.d.ts +73 -0
- package/dist/cli.js +484 -0
- package/dist/client.d.ts +158 -0
- package/dist/client.js +679 -0
- package/dist/config.d.ts +135 -0
- package/dist/config.js +344 -0
- package/dist/denial.d.ts +79 -0
- package/dist/denial.js +103 -0
- package/dist/dev.d.ts +95 -0
- package/dist/dev.js +514 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +137 -0
- package/dist/local/cli.d.ts +12 -0
- package/dist/local/cli.js +95 -0
- package/dist/local/configs.d.ts +89 -0
- package/dist/local/configs.js +634 -0
- package/dist/local/health.d.ts +32 -0
- package/dist/local/health.js +65 -0
- package/dist/local/index.d.ts +6 -0
- package/dist/local/index.js +38 -0
- package/dist/local/jaeger-main.d.ts +13 -0
- package/dist/local/jaeger-main.js +85 -0
- package/dist/local/jaeger.d.ts +50 -0
- package/dist/local/jaeger.js +162 -0
- package/dist/local/main.d.ts +7 -0
- package/dist/local/main.js +14 -0
- package/dist/local/manager.d.ts +45 -0
- package/dist/local/manager.js +676 -0
- package/dist/local/seed.d.ts +71 -0
- package/dist/local/seed.js +237 -0
- package/dist/logger.d.ts +29 -0
- package/dist/logger.js +139 -0
- package/dist/mcp.d.ts +76 -0
- package/dist/mcp.js +122 -0
- package/dist/otel/exporter.d.ts +17 -0
- package/dist/otel/exporter.js +12 -0
- package/dist/otel/index.d.ts +2 -0
- package/dist/otel/index.js +8 -0
- package/dist/otel/otlp-http.d.ts +116 -0
- package/dist/otel/otlp-http.js +322 -0
- package/dist/registry/cli.d.ts +12 -0
- package/dist/registry/cli.js +76 -0
- package/dist/registry/config.d.ts +23 -0
- package/dist/registry/config.js +80 -0
- package/dist/registry/index.d.ts +3 -0
- package/dist/registry/index.js +21 -0
- package/dist/registry/main.d.ts +7 -0
- package/dist/registry/main.js +14 -0
- package/dist/registry/manager.d.ts +38 -0
- package/dist/registry/manager.js +674 -0
- package/dist/setup.d.ts +118 -0
- package/dist/setup.js +398 -0
- package/dist/skills.d.ts +78 -0
- package/dist/skills.js +264 -0
- package/dist/subject.d.ts +43 -0
- package/dist/subject.js +55 -0
- package/dist/tool-metadata.d.ts +41 -0
- package/dist/tool-metadata.js +127 -0
- package/dist/tracer.d.ts +172 -0
- package/dist/tracer.js +452 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.js +3 -0
- package/dist/watch-sandbox.d.ts +9 -0
- package/dist/watch-sandbox.js +81 -0
- package/package.json +79 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* Standalone entry point for `registry` commands.
|
|
5
|
+
*
|
|
6
|
+
* Used by root package.json scripts: node packages/core/dist/registry/main.js <subcommand>
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const cli_js_1 = require("./cli.js");
|
|
10
|
+
const args = process.argv.slice(2);
|
|
11
|
+
(0, cli_js_1.runRegistryCommand)("pnpm", args).catch((err) => {
|
|
12
|
+
console.error(err.message ?? err);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Local npm registry manager.
|
|
3
|
+
*
|
|
4
|
+
* Manages a Verdaccio Docker container for publishing and installing
|
|
5
|
+
* @ory packages locally. Completely ephemeral — the
|
|
6
|
+
* container is started with `--rm` and all state lives under
|
|
7
|
+
* `.ory-dev/registry/` on the host, bind-mounted into the container.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors the lifecycle model used by the standalone Jaeger container
|
|
10
|
+
* (see `local/jaeger.ts`): single `docker run -d --rm --name <name>`,
|
|
11
|
+
* idempotent start, removal via `docker rm -f`.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Per-registry npm cache directory.
|
|
15
|
+
*
|
|
16
|
+
* Isolating npm's pacote cache here is the only way to keep republishing
|
|
17
|
+
* the same version reliably — npm caches manifests by URL, so the user's
|
|
18
|
+
* `~/.npm` would otherwise serve stale "this version exists" answers to
|
|
19
|
+
* pnpm publish/npm install even after we drop the version from Verdaccio.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getLocalRegistryNpmCacheDir(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Start the local registry if it isn't already running.
|
|
24
|
+
*/
|
|
25
|
+
export declare function ensureRegistryRunning(): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Publish all `@ory/*` packages to the local registry — entrypoint used by
|
|
28
|
+
* the dev launcher. The `harnessName` arg is retained for call-site
|
|
29
|
+
* compatibility; we publish the whole scope every time so any harness gets
|
|
30
|
+
* a coherent registry state without needing to compute its dep closure.
|
|
31
|
+
*/
|
|
32
|
+
export declare function publishHarnessToLocal(_harnessName: string): Promise<void>;
|
|
33
|
+
export declare function registryStart(): Promise<void>;
|
|
34
|
+
export declare function registryStop(): Promise<void>;
|
|
35
|
+
export declare function registryStatus(): Promise<void>;
|
|
36
|
+
export declare function registryPublish(): Promise<void>;
|
|
37
|
+
export declare function registryClean(): Promise<void>;
|
|
38
|
+
export declare function registryNpmrc(): Promise<void>;
|