@apogeelabs/the-agency 0.4.0 → 0.5.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
CHANGED
|
@@ -122,14 +122,4 @@ The sync does **not** copy `settings.local.json` or `settings.json` — those ar
|
|
|
122
122
|
|
|
123
123
|
## Development
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
pnpm install
|
|
127
|
-
pnpm build # Compile TypeScript → dist/
|
|
128
|
-
pnpm test # Run test suite
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Versioning is managed with [changesets](https://github.com/changesets/changesets). To propose a version bump:
|
|
132
|
-
|
|
133
|
-
```bash
|
|
134
|
-
pnpm changeset
|
|
135
|
-
```
|
|
125
|
+
See the [DEVELOP readme](./DEVELOP.md) for information on how to develop within this repo.
|
package/package.json
CHANGED
|
@@ -414,8 +414,9 @@ Am I in the **outer** `beforeEach`?
|
|
|
414
414
|
- Always assert **count first**, then **arguments**: `toHaveBeenCalledTimes` before `toHaveBeenCalledWith`
|
|
415
415
|
- Use `toHaveBeenNthCalledWith` for multiple calls with different args
|
|
416
416
|
- **Equality matchers**:
|
|
417
|
-
- Use `toBe` for primitives (strings,
|
|
417
|
+
- Use `toBe` for primitives (strings, integers, booleans, null, undefined) — it checks reference equality
|
|
418
418
|
- Use `toEqual` for objects and arrays — it checks deep equality
|
|
419
|
+
- Use `toBeCloseTo` for floating-point numbers - it is tolerant of JavaScript's surprising rounding behavior
|
|
419
420
|
- Never use `toBe` on objects (it will fail even if the contents match) or `toEqual` on primitives (it works but is imprecise)
|
|
420
421
|
- **Assertion granularity** (in order of preference):
|
|
421
422
|
1. **Full match** with `toEqual` — assert the entire object/array when possible
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Read",
|
|
5
|
-
"Edit",
|
|
6
|
-
"Write",
|
|
7
|
-
"Glob",
|
|
8
|
-
"Grep",
|
|
9
|
-
"Bash(npm *)",
|
|
10
|
-
"Bash(npx *)",
|
|
11
|
-
"Bash(git diff *)",
|
|
12
|
-
"Bash(git log *)",
|
|
13
|
-
"Bash(git status *)",
|
|
14
|
-
"Bash(git show *)",
|
|
15
|
-
"Bash(git branch *)",
|
|
16
|
-
"Bash(git fetch *)",
|
|
17
|
-
"Bash(git commit *)",
|
|
18
|
-
"Bash(git checkout *)",
|
|
19
|
-
"Bash(git pull *)",
|
|
20
|
-
"Bash(git merge *)",
|
|
21
|
-
"Bash(git rebase *)",
|
|
22
|
-
"Bash(git reset *)",
|
|
23
|
-
"Bash(git revert *)",
|
|
24
|
-
"Bash(git stash *)",
|
|
25
|
-
"Bash(gh pr *)",
|
|
26
|
-
"Bash(gh browse *)",
|
|
27
|
-
"Bash(gh gist *)",
|
|
28
|
-
"Bash(mkdir *)",
|
|
29
|
-
"Bash(ls *)",
|
|
30
|
-
"Bash(wc *)",
|
|
31
|
-
"Bash(chmod *)",
|
|
32
|
-
"Bash(cat *)",
|
|
33
|
-
"Bash(head *)",
|
|
34
|
-
"Bash(tail *)",
|
|
35
|
-
"Bash(pnpm build:*)",
|
|
36
|
-
"mcp__voicemode__converse",
|
|
37
|
-
"Bash(gh auth status:*)",
|
|
38
|
-
"Bash(gh repo view:*)",
|
|
39
|
-
"Bash(gh pr create:*)",
|
|
40
|
-
"Bash(git rm:*)",
|
|
41
|
-
"Bash(voicemode --help:*)",
|
|
42
|
-
"Bash(voicemode config:*)",
|
|
43
|
-
"Bash(git push:*)",
|
|
44
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency status)",
|
|
45
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency diff --stat)",
|
|
46
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency log --oneline -5)",
|
|
47
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency branch:*)",
|
|
48
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency rev-parse --abbrev-ref --symbolic-full-name @{u})",
|
|
49
|
-
"Bash(git -C /Users/jimcowart/git/apogee/the-agency push -u origin command-updates)",
|
|
50
|
-
"Bash(echo:*)"
|
|
51
|
-
],
|
|
52
|
-
"deny": [
|
|
53
|
-
"Bash(rm -rf /*)",
|
|
54
|
-
"Bash(rm -rf ~*)",
|
|
55
|
-
"Bash(curl * | *)",
|
|
56
|
-
"Edit(~/.ssh/**)",
|
|
57
|
-
"Edit(/etc/**)"
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
}
|