micro-models-agent 0.24.0 → 0.24.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "micro-models-agent",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "Micro Models Agent (MMA) — LLM agent harness for small models (Qwen3.5-9B, 32K-64K context)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"mma": "bun run src/cli/main.ts",
|
|
18
18
|
"build": "bun run build:tsc && bun run build:copy-assets",
|
|
19
19
|
"build:tsc": "tsc -p tsconfig.build.json",
|
|
20
|
-
"build:copy-assets": "
|
|
20
|
+
"build:copy-assets": "bun run scripts/copy-assets.ts",
|
|
21
21
|
"build:prod": "bun run 'build:bundle' && bun run 'build:copy-assets'",
|
|
22
22
|
"build:clean": "cmd /c \"if exist dist rmdir /s /q dist\"",
|
|
23
23
|
"build:bundle": "bun build ./src/cli/main.ts --outfile ./dist/main.js --target node --format esm --external playwright",
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: git-expert
|
|
3
|
-
description: Git branching, merge conflicts, rebasing, workflow strategies
|
|
4
|
-
keywords: [git, branch, merge, rebase, commit, conflict, workflow]
|
|
5
|
-
mma_version: 2
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Git Expert
|
|
9
|
-
|
|
10
|
-
## Branching Strategies
|
|
11
|
-
|
|
12
|
-
- **Feature branches**: `feature/xxx` from `main`, merge via PR
|
|
13
|
-
- **Hotfix**: `hotfix/xxx` from `main`, merge to both `main` and `develop`
|
|
14
|
-
- **Release**: `release/xxx` from `develop`, merge to `main` + `develop`
|
|
15
|
-
|
|
16
|
-
## Conflict Resolution
|
|
17
|
-
|
|
18
|
-
1. `git fetch origin` — get latest
|
|
19
|
-
2. `git checkout your-branch`
|
|
20
|
-
3. `git rebase origin/main` — apply your commits on top
|
|
21
|
-
4. Resolve conflicts file by file
|
|
22
|
-
5. `git add <files>` then `git rebase --continue`
|
|
23
|
-
|
|
24
|
-
## Useful Commands
|
|
25
|
-
|
|
26
|
-
- `git log --oneline --graph --all` — visualize history
|
|
27
|
-
- `git diff --stat` — summary of changes
|
|
28
|
-
- `git stash pop` — restore stashed changes
|
|
29
|
-
- `git cherry-pick <commit>` — apply specific commit
|
|
30
|
-
|
|
31
|
-
## Best Practices
|
|
32
|
-
|
|
33
|
-
- Commit often with clear messages
|
|
34
|
-
- Keep commits atomic (one logical change)
|
|
35
|
-
- Never force push to shared branches
|
|
36
|
-
- Use `git rebase -i` to clean up before PR
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: typescript-expert
|
|
3
|
-
description: TypeScript type system, generics, advanced patterns, compiler API
|
|
4
|
-
keywords: [typescript, types, generics, tsconfig, compiler, interface, type]
|
|
5
|
-
mma_version: 2
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# TypeScript Expert
|
|
9
|
-
|
|
10
|
-
## Key Patterns
|
|
11
|
-
|
|
12
|
-
- Use `readonly` for immutable properties
|
|
13
|
-
- Prefer `interface` over `type` for object shapes
|
|
14
|
-
- Use `as const` for literal types
|
|
15
|
-
- Prefer `unknown` over `any` for type safety
|
|
16
|
-
|
|
17
|
-
## Common Pitfalls
|
|
18
|
-
|
|
19
|
-
- Avoid `any` — use `unknown` + type guards
|
|
20
|
-
- Don't use `enum` — use `const` objects or union types
|
|
21
|
-
- Avoid `namespace` — use ES modules
|
|
22
|
-
|
|
23
|
-
## Type Guards
|
|
24
|
-
|
|
25
|
-
```ts
|
|
26
|
-
function isString(val: unknown): val is string {
|
|
27
|
-
return typeof val === 'string'
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Generics
|
|
32
|
-
|
|
33
|
-
- Use `extends` for constraints
|
|
34
|
-
- Use `infer` for conditional type extraction
|
|
35
|
-
- Prefer explicit over implicit for complex cases
|