🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@iinm/plain-agent

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iinm/plain-agent - npm Package Compare versions

Comparing version
1.15.4
to
1.15.5
+1
-1
package.json
{
"name": "@iinm/plain-agent",
"version": "1.15.4",
"version": "1.15.5",
"description": "A lightweight terminal-based coding agent focused on safety and low token cost",

@@ -5,0 +5,0 @@ "license": "MIT",

# Plain Agent
[![CodeQL](https://github.com/iinm/plain-agent/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/iinm/plain-agent/actions/workflows/github-code-scanning/codeql)
[![Socket Badge](https://badge.socket.dev/npm/package/@iinm/plain-agent/1.15.4)](https://socket.dev/npm/package/@iinm/plain-agent)
[![Socket Badge](https://badge.socket.dev/npm/package/@iinm/plain-agent/1.15.5)](https://socket.dev/npm/package/@iinm/plain-agent)
[![install size](https://packagephobia.com/badge?p=@iinm/plain-agent)](https://packagephobia.com/result?p=@iinm/plain-agent)

@@ -6,0 +6,0 @@

@@ -7,7 +7,13 @@ /**

import { appendUsageRecord, buildUsageRecord } from "../metrics/usageStore.mjs";
import {
PERSISTED_SESSION_EVENT_TYPES,
persistSessionEvent,
} from "../sessionStore.mjs";
import { persistSessionEvent } from "../sessionStore.mjs";
const BATCH_OUTPUT_EVENT_TYPES = new Set([
"session_start",
"message",
"token_usage",
"subagent_switched",
"session_end",
"error",
]);
/**

@@ -45,6 +51,4 @@ * @typedef {object} BatchSessionOptions

if (PERSISTED_SESSION_EVENT_TYPES.has(event.type)) {
if (BATCH_OUTPUT_EVENT_TYPES.has(event.type)) {
outputEvent(event);
} else if (event.type === "error") {
outputEvent(event);
}

@@ -51,0 +55,0 @@

@@ -12,4 +12,3 @@ /**

/** Event types that are persisted in session JSONL streams. */
export const PERSISTED_SESSION_EVENT_TYPES = new Set([
const PERSISTED_SESSION_EVENT_TYPES = new Set([
"session_start",

@@ -16,0 +15,0 @@ "message",

Sorry, the diff of this file is too big to display