@raidiant/notifai 0.1.3 → 0.1.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.
@@ -182,7 +182,7 @@ export declare function configSetCommand(deps: CommandDeps, key: string, rawValu
182
182
  * 1.5.x, `owner/repo@name` selects a skill; a Git ref belongs after `#`.
183
183
  * Keep this immutable and public because the command is printed to users.
184
184
  */
185
- export declare const SKILLS_SOURCE = "RafaelVidaurre/notifai#v0.1.2";
185
+ export declare const SKILLS_SOURCE = "RafaelVidaurre/notifai#v0.1.5";
186
186
  /** Derive a contract-valid project slug from a directory name. */
187
187
  export declare function projectSlugFrom(name: string): string;
188
188
  export interface InitFlags {
package/dist/commands.js CHANGED
@@ -1159,7 +1159,7 @@ export async function configSetCommand(deps, key, rawValue, flags) {
1159
1159
  * 1.5.x, `owner/repo@name` selects a skill; a Git ref belongs after `#`.
1160
1160
  * Keep this immutable and public because the command is printed to users.
1161
1161
  */
1162
- export const SKILLS_SOURCE = 'RafaelVidaurre/notifai#v0.1.2';
1162
+ export const SKILLS_SOURCE = 'RafaelVidaurre/notifai#v0.1.5';
1163
1163
  /** Derive a contract-valid project slug from a directory name. */
1164
1164
  export function projectSlugFrom(name) {
1165
1165
  const slug = name
package/dist/main.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raidiant/notifai",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Send native phone notifications from agents and local programs",
6
6
  "bin": {
@@ -11,11 +11,16 @@
11
11
  "src",
12
12
  "tsconfig.json"
13
13
  ],
14
+ "scripts": {
15
+ "build": "tsc -p tsconfig.json",
16
+ "typecheck": "tsc -p tsconfig.json --noEmit",
17
+ "test": "vitest run"
18
+ },
14
19
  "dependencies": {
15
20
  "@clack/prompts": "^1.7.0",
21
+ "@raidiant/notifai-protocol": "workspace:*",
16
22
  "commander": "^14.0.0",
17
- "smol-toml": "^1.4.0",
18
- "@raidiant/notifai-protocol": "0.1.1"
23
+ "smol-toml": "^1.4.0"
19
24
  },
20
25
  "devDependencies": {
21
26
  "typescript": "^5.8.0",
@@ -47,10 +52,5 @@
47
52
  "ai",
48
53
  "claude",
49
54
  "codex"
50
- ],
51
- "scripts": {
52
- "build": "tsc -p tsconfig.json",
53
- "typecheck": "tsc -p tsconfig.json --noEmit",
54
- "test": "vitest run"
55
- }
56
- }
55
+ ]
56
+ }
@@ -1063,7 +1063,7 @@ describe('init', () => {
1063
1063
  })
1064
1064
 
1065
1065
  it('pins the skill installer to the tagged public release syntax', () => {
1066
- expect(SKILLS_SOURCE).toBe('RafaelVidaurre/notifai#v0.1.3')
1066
+ expect(SKILLS_SOURCE).toBe('RafaelVidaurre/notifai#v0.1.5')
1067
1067
  expect(SKILLS_SOURCE).not.toContain('@v')
1068
1068
  })
1069
1069
 
@@ -1300,7 +1300,7 @@ describe('init', () => {
1300
1300
  const deps = {
1301
1301
  ...makeDeps(io, client),
1302
1302
  cwd,
1303
- env: { XDG_CONFIG_HOME: path.join(cwd, 'config'), XDG_STATE_HOME: '/proc/notifai-unwritable' },
1303
+ env: { XDG_CONFIG_HOME: path.join(cwd, 'config'), XDG_STATE_HOME: '/dev/null' },
1304
1304
  }
1305
1305
 
1306
1306
  await expect(initCommand(deps, { hooks: false, skills: false })).resolves.toBe(EXIT.failed)
package/src/commands.ts CHANGED
@@ -1453,7 +1453,7 @@ export async function configSetCommand(
1453
1453
  * 1.5.x, `owner/repo@name` selects a skill; a Git ref belongs after `#`.
1454
1454
  * Keep this immutable and public because the command is printed to users.
1455
1455
  */
1456
- export const SKILLS_SOURCE = 'RafaelVidaurre/notifai#v0.1.3'
1456
+ export const SKILLS_SOURCE = 'RafaelVidaurre/notifai#v0.1.5'
1457
1457
 
1458
1458
  /** Derive a contract-valid project slug from a directory name. */
1459
1459
  export function projectSlugFrom(name: string): string {
package/src/hooks.test.ts CHANGED
@@ -1096,7 +1096,7 @@ describe('pruning abandoned session state', () => {
1096
1096
  })
1097
1097
 
1098
1098
  it('never fails a hook because housekeeping could not run', () => {
1099
- expect(pruneAbandonedSessions({ XDG_STATE_HOME: '/proc/nonexistent/nope' }, REAL)).toBe(0)
1099
+ expect(pruneAbandonedSessions({ XDG_STATE_HOME: '/dev/null' }, REAL)).toBe(0)
1100
1100
  })
1101
1101
 
1102
1102
  it('bounds what one runaway question can write to disk', () => {