omegon 0.7.0 → 0.7.1

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 (44) hide show
  1. package/graphics/g140.png +0 -0
  2. package/graphics/icon.jpg +0 -0
  3. package/graphics/icon.svg +562 -0
  4. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +2 -2
  5. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
  6. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +62 -0
  7. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +157 -0
  8. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
  9. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +16 -0
  10. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +81 -0
  11. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
  12. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
  13. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
  14. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -0
  15. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
  16. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
  17. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
  18. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
  19. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/constants.d.ts +8 -0
  20. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromEnvSigningName.d.ts +18 -0
  21. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +12 -0
  22. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +9 -0
  23. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +8 -0
  24. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +7 -0
  25. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/index.d.ts +4 -0
  26. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +18 -0
  27. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/constants.d.ts +3 -0
  28. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromEnvSigningName.d.ts +11 -0
  29. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +14 -0
  30. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromStatic.d.ts +12 -0
  31. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +11 -0
  32. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +7 -0
  33. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/index.d.ts +4 -0
  34. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/nodeProvider.d.ts +5 -0
  35. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenExpiry.d.ts +2 -0
  36. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/validateTokenKey.d.ts +5 -0
  37. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/writeSSOTokenToFile.d.ts +5 -0
  38. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +5 -0
  39. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/validateTokenKey.d.ts +4 -0
  40. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +5 -0
  41. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +70 -0
  42. package/node_modules/@aws-sdk/token-providers/package.json +1 -1
  43. package/package.json +2 -1
  44. package/skills/git/SKILL.md +8 -0
@@ -0,0 +1,8 @@
1
+ import type { AwsIdentityProperties } from "@aws-sdk/types";
2
+ import type { SSOToken } from "@smithy/shared-ini-file-loader";
3
+ import type { FromSsoInit } from "./fromSso";
4
+ /**
5
+ * Returns a new SSO OIDC token from SSOOIDC::createToken() API call.
6
+ * @internal
7
+ */
8
+ export declare const getNewSsoOidcToken: (ssoToken: SSOToken, ssoRegion: string, init?: FromSsoInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<import("@aws-sdk/nested-clients/sso-oidc").CreateTokenCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { AwsIdentityProperties } from "@aws-sdk/types";
2
+ import type { FromSsoInit } from "./fromSso";
3
+ /**
4
+ * Returns a SSOOIDC client for the given region.
5
+ * @internal
6
+ */
7
+ export declare const getSsoOidcClient: (ssoRegion: string, init?: FromSsoInit, callerClientConfig?: AwsIdentityProperties["callerClientConfig"]) => Promise<import("@aws-sdk/nested-clients/sso-oidc").SSOOIDCClient>;
@@ -0,0 +1,4 @@
1
+ export * from "./fromEnvSigningName";
2
+ export * from "./fromSso";
3
+ export * from "./fromStatic";
4
+ export * from "./nodeProvider";
@@ -0,0 +1,18 @@
1
+ import type { TokenIdentityProvider } from "@aws-sdk/types";
2
+ import type { FromSsoInit } from "./fromSso";
3
+ /**
4
+ * Creates a token provider that will attempt to find token from the
5
+ * following sources (listed in order of precedence):
6
+ * * SSO token from SSO cache or ssoOidc.createToken() call
7
+ *
8
+ * The default token provider is designed to invoke one provider at a time and only
9
+ * continue to the next if no token has been located. It currently has only SSO
10
+ * Token Provider in the chain.
11
+ *
12
+ * @param init Configuration that is passed to each individual
13
+ * provider
14
+ *
15
+ * @see fromSso The function used to source credentials from
16
+ * SSO cache or ssoOidc.createToken() call
17
+ */
18
+ export declare const nodeProvider: (init?: FromSsoInit) => TokenIdentityProvider;
@@ -0,0 +1,3 @@
1
+ export declare const EXPIRE_WINDOW_MS: number;
2
+ export declare const REFRESH_MESSAGE =
3
+ "To refresh this SSO session run 'aws sso login' with the corresponding profile.";
@@ -0,0 +1,11 @@
1
+ import {
2
+ CredentialProviderOptions,
3
+ TokenIdentityProvider,
4
+ } from "@aws-sdk/types";
5
+ export interface FromEnvSigningNameInit extends CredentialProviderOptions {
6
+ signingName?: string;
7
+ }
8
+ export declare const fromEnvSigningName: ({
9
+ logger,
10
+ signingName,
11
+ }?: FromEnvSigningNameInit) => TokenIdentityProvider;
@@ -0,0 +1,14 @@
1
+ import {
2
+ CredentialProviderOptions,
3
+ RuntimeConfigIdentityProvider,
4
+ TokenIdentity,
5
+ } from "@aws-sdk/types";
6
+ import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
7
+ export interface FromSsoInit
8
+ extends SourceProfileInit,
9
+ CredentialProviderOptions {
10
+ clientConfig?: any;
11
+ }
12
+ export declare const fromSso: (
13
+ init?: FromSsoInit
14
+ ) => RuntimeConfigIdentityProvider<TokenIdentity>;
@@ -0,0 +1,12 @@
1
+ import {
2
+ CredentialProviderOptions,
3
+ TokenIdentity,
4
+ TokenIdentityProvider,
5
+ } from "@aws-sdk/types";
6
+ export interface FromStaticInit extends CredentialProviderOptions {
7
+ token?: TokenIdentity;
8
+ }
9
+ export declare const fromStatic: ({
10
+ token,
11
+ logger,
12
+ }: FromStaticInit) => TokenIdentityProvider;
@@ -0,0 +1,11 @@
1
+ import { AwsIdentityProperties } from "@aws-sdk/types";
2
+ import { SSOToken } from "@smithy/shared-ini-file-loader";
3
+ import { FromSsoInit } from "./fromSso";
4
+ export declare const getNewSsoOidcToken: (
5
+ ssoToken: SSOToken,
6
+ ssoRegion: string,
7
+ init?: FromSsoInit,
8
+ callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
9
+ ) => Promise<
10
+ import("@aws-sdk/nested-clients/sso-oidc").CreateTokenCommandOutput
11
+ >;
@@ -0,0 +1,7 @@
1
+ import { AwsIdentityProperties } from "@aws-sdk/types";
2
+ import { FromSsoInit } from "./fromSso";
3
+ export declare const getSsoOidcClient: (
4
+ ssoRegion: string,
5
+ init?: FromSsoInit,
6
+ callerClientConfig?: AwsIdentityProperties["callerClientConfig"]
7
+ ) => Promise<import("@aws-sdk/nested-clients/sso-oidc").SSOOIDCClient>;
@@ -0,0 +1,4 @@
1
+ export * from "./fromEnvSigningName";
2
+ export * from "./fromSso";
3
+ export * from "./fromStatic";
4
+ export * from "./nodeProvider";
@@ -0,0 +1,5 @@
1
+ import { TokenIdentityProvider } from "@aws-sdk/types";
2
+ import { FromSsoInit } from "./fromSso";
3
+ export declare const nodeProvider: (
4
+ init?: FromSsoInit
5
+ ) => TokenIdentityProvider;
@@ -0,0 +1,2 @@
1
+ import { TokenIdentity } from "@aws-sdk/types";
2
+ export declare const validateTokenExpiry: (token: TokenIdentity) => void;
@@ -0,0 +1,5 @@
1
+ export declare const validateTokenKey: (
2
+ key: string,
3
+ value: unknown,
4
+ forRefresh?: boolean
5
+ ) => void;
@@ -0,0 +1,5 @@
1
+ import { SSOToken } from "@smithy/shared-ini-file-loader";
2
+ export declare const writeSSOTokenToFile: (
3
+ id: string,
4
+ ssoToken: SSOToken
5
+ ) => Promise<void>;
@@ -0,0 +1,5 @@
1
+ import type { TokenIdentity } from "@aws-sdk/types";
2
+ /**
3
+ * Throws TokenProviderError is token is expired.
4
+ */
5
+ export declare const validateTokenExpiry: (token: TokenIdentity) => void;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Throws TokenProviderError if value is undefined for key.
3
+ */
4
+ export declare const validateTokenKey: (key: string, value: unknown, forRefresh?: boolean) => void;
@@ -0,0 +1,5 @@
1
+ import type { SSOToken } from "@smithy/shared-ini-file-loader";
2
+ /**
3
+ * Writes SSO token to file based on filepath computed from ssoStartUrl or session name.
4
+ */
5
+ export declare const writeSSOTokenToFile: (id: string, ssoToken: SSOToken) => Promise<void>;
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@aws-sdk/token-providers",
3
+ "version": "3.1009.0",
4
+ "description": "A collection of token providers",
5
+ "main": "./dist-cjs/index.js",
6
+ "module": "./dist-es/index.js",
7
+ "scripts": {
8
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
9
+ "build:cjs": "node ../../scripts/compilation/inline token-providers",
10
+ "build:es": "tsc -p tsconfig.es.json",
11
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
12
+ "build:types": "tsc -p tsconfig.types.json",
13
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
+ "extract:docs": "api-extractor run --local",
16
+ "test": "yarn g:vitest run",
17
+ "test:watch": "yarn g:vitest watch",
18
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
19
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
20
+ },
21
+ "keywords": [
22
+ "aws",
23
+ "token"
24
+ ],
25
+ "sideEffects": false,
26
+ "author": {
27
+ "name": "AWS SDK for JavaScript Team",
28
+ "url": "https://aws.amazon.com/javascript/"
29
+ },
30
+ "license": "Apache-2.0",
31
+ "dependencies": {
32
+ "@aws-sdk/core": "^3.973.20",
33
+ "@aws-sdk/nested-clients": "^3.996.10",
34
+ "@aws-sdk/types": "^3.973.6",
35
+ "@smithy/property-provider": "^4.2.12",
36
+ "@smithy/shared-ini-file-loader": "^4.4.7",
37
+ "@smithy/types": "^4.13.1",
38
+ "tslib": "^2.6.2"
39
+ },
40
+ "devDependencies": {
41
+ "@tsconfig/recommended": "1.0.1",
42
+ "@types/node": "^20.14.8",
43
+ "concurrently": "7.0.0",
44
+ "downlevel-dts": "0.10.1",
45
+ "premove": "4.0.0",
46
+ "typescript": "~5.8.3"
47
+ },
48
+ "types": "./dist-types/index.d.ts",
49
+ "engines": {
50
+ "node": ">=20.0.0"
51
+ },
52
+ "typesVersions": {
53
+ "<4.5": {
54
+ "dist-types/*": [
55
+ "dist-types/ts3.4/*"
56
+ ]
57
+ }
58
+ },
59
+ "files": [
60
+ "dist-*/**"
61
+ ],
62
+ "browser": {},
63
+ "react-native": {},
64
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/token-providers",
65
+ "repository": {
66
+ "type": "git",
67
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
68
+ "directory": "packages/token-providers"
69
+ }
70
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1009.0",
3
+ "version": "3.1010.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omegon",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Omegon — an opinionated distribution of pi (by Mario Zechner) with extensions for lifecycle management, memory, orchestration, and visualization",
5
5
  "bin": {
6
6
  "omegon": "bin/omegon.mjs",
@@ -48,6 +48,7 @@
48
48
  },
49
49
  "pi": {
50
50
  "extensions": [
51
+ "./extensions/00-splash",
51
52
  "./extensions/bootstrap",
52
53
  "./extensions/core-renderers.ts",
53
54
  "./extensions/auto-compact.ts",
@@ -206,4 +206,12 @@ git tag v0.5.0
206
206
  git push origin main --tags
207
207
  ```
208
208
 
209
+ ## Pre-Publish Checklist
210
+
211
+ Before tagging a release or merging work that will trigger a publish:
212
+
213
+ 1. **Verify manifest registration** — If new extensions, skills, prompts, or themes were added as files/directories, confirm they are listed in `package.json` under the appropriate `pi.*` array (`pi.extensions`, `pi.skills`, etc.). Autodiscovery is **bypassed** when a manifest field exists; unlisted entries won't load.
214
+ 2. **Verify imports and wiring** — New modules that are referenced by other modules (e.g. shared state, cross-extension calls) must actually be reachable at runtime. Check that import paths resolve and that the consuming code isn't silently swallowing missing-module errors.
215
+ 3. **Smoke-test the feature** — If the change adds user-visible behavior (UI, commands, startup effects), confirm it actually fires in a local run before publishing. A feature that loads but never activates is the same as a feature that was never shipped.
216
+
209
217
  See `_reference/ci-validation.md` for CI workflow templates that enforce these conventions.